West Wind Internet Protocols 4.68 |
wwipstuff::SendMapiMail
|
This method is useful for standalone applications or even Web applications that need to use the full MAPI interface functionality. For example, MAPI interfaces with Outlook and Outlook Express to give you a history of messages sent and will leave outgoing messages in the out queue until messages are sent. This functionality is not automatically available for pure SMTP connections using SendMail.
(currently attachments are not supported)
Syntax: |
o.SendMapiMail() |
| Return: | .T. or .F. When .F. check the cErrorMsg property for error string. |
| Example: | loIP =create("wwipstuff")
loIP.cRecipient = "somebody@star.net,meg@guest.com"
loIP.cCCList = "frank@gorge.com,greg@gorge.com"
loIP.cBCCList = "bill@gorge.com,bail@gorge.com"
loIP.cSubject = "Test"
loIp.cMessage = "Test Message text"
IF !loIP.SendMapiMail()
? loIP.cErrorMsg
ENDIF
|
| Remarks: | This method will try to send messages immediately, but if the the computer is not online messages are queued in the MAPI profile. If you look in Outlook or Outlook Express, you'll see these messages in the Outbox. |
See also: