Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending an email message
Message
From
30/12/1998 12:38:40
 
 
To
30/12/1998 10:48:33
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00171532
Message ID:
00171596
Views:
21
>I use MAPI session and MAPI message activex controls to send en email message the user types inside an edit box on a vfp form.
>
>How can I prevent the registered email editor (i.e. outlook) from appearing so that the email is sent in the background invisibly to the user?

I am sure you can do this with MAPI, but having never used MAPI, I am not the one to tell you how. If you need the outgoing message to reside in the user's Sent Items box, then you will want to stick with MAPI but if you don't, and you are using Windows NT, I recommend Rick Strahl's wwIPStuff class. It has a function for sending mail directly using Wininet.dll Sendmail functions. It is very straightforward, invisible to the user, and completely independent of the user's mail software. wwIPStuff is available here in the files section, or on the West Wind website.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform