Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / December 2004

Tip: Looking for answers? Try searching our database.

Send E-mail

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Help Me - 08 Dec 2004 15:27 GMT
I am trying to have infopath send the form via e-mail

I have the following code working:

        var oEnvelope = XDocument.View.Window.MailEnvelope;
   
        oEnvelope.To = rgRecipients.join("; ");
        oEnvelope.Subject = getNodeValue(xmlTitle);
        oEnvelope.Visible = true

But this just changes the view to an outlook e-mail view.  I actually want
it to send the e-mail.  i tried oEnvelop.Send but it didn't work.  Does
anyone know the code?

Thanks
Andrew Watt [MVP - InfoPath] - 08 Dec 2004 16:42 GMT
>I am trying to have infopath send the form via e-mail
>
[quoted text clipped - 11 lines]
>
>Thanks

Nobody knows the code. :)

This is my understanding of the situation.

The reason is that for security reasons InfoPath shouldn't send emails
from, say, my email address without me (a human being) taking the
final decision about whether to send it or not.

Without that "reality check" any coder could take what you have done a
malign step further.

If the user wants/needs to send the form data in an email it isn't a
huge ask to click Send. If the user hadn't intended to send an email,
and decided that he/she didn't want to then it's a useful check.

Andrew Watt
MVP - InfoPath
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.