- Code: Select all Expand view
FUNCTION SendMAPIMail2( MailTo, cSndFile, cText, cSubj )
// Send MAPI mail originates email to the MAPI client
// Updated: 8/2/2015 2:16:52 PM
LOCAL oMail
DEFINE MAIL oMail ;
SUBJECT cSubj ;
TEXT cText ;
FILES cSndFile, cSndFile ;
FROM USER ;
TO MailTo
ACTIVATE MAIL oMail
RETURN( .t. )
This is great for individual emails. However, I have a need to send out emails, using MAPI, unattended. I may be sending 30 emails, and I do not want them to display in Outlook and wait for a response. They just need to go out. Of course I can do this with SMTP, etc. but Outlook would be far more productive.
Is there a setting or code that can be used to simply have Outlook pass through the emails ?
Tim