it's ridiculously difficult to send an email from an InfoPath form.
the link below might help some. i swear i don't think anybody from
Microsoft ever worked for a real company where getting something done
quickly is important.
it's much easier to send email (and other things) if you can do your
development in Visual Studio 2003 (or higher).
http://groups.google.com/group/microsoft.public.infopath/browse_thread/thread/9d
ff3b9b2f67add0/a3ebdacd6717211e?q=send+email+with+link&rnum=12#a3ebdacd6717211e
hi steve,
merry xmas to you and thanks for the help.
i've managed to send an email using the following...
var id_mgr =
getNode("/dfs:myFields/dfs:dataFields/tns:GetAssessmentResponse/tns:GetAssessmentResult/ns1:ServiceDataSet/ns1:ST_USER/ns1:ID_MANAGER").text;
var objEmailAdapter;
objEmailAdapter = XDocument.DataAdapters("EmailSubmit");
objEmailAdapter.To = id_mgr;
objEmailAdapter.Subject = "Status Report";
objEmailAdapter.Intro = "Blah blah";
objEmailAdapter.Submit();
... but there's a dialog box (email confirmation) that appears, when
you click the send button in the dialog box, the email attached the
form.
Is there any way me can eliminate the dialog box and the attachment of
the form in the email?
thanks again.
joel
> it's ridiculously difficult to send an email from an InfoPath form.
> the link below might help some. i swear i don't think anybody from
[quoted text clipped - 16 lines]
> >
> > Joel
steve@verizon.net - 27 Dec 2006 14:54 GMT
cool....
if you go into the Data Connections, select your email connection,
blank out the Attachment Name field - it should send the email without
the attachment. (really stupid design)
i don't think it's possible to get rid of the dialog box (if i'm wrong
i'd like to know about it)
hope that helps......
steve
> hi steve,
>
[quoted text clipped - 42 lines]
> > >
> > > Joel