The SendMailMAPI function sends
the mail with the MAPI protocol.
Syntax
CALL ui.Interface.frontCall("WinMail","SendMailMAPI",
[ id ], [result] )
- id is the message identifier.
- result is TRUE in case of success; use GetError
to get the description of the error when needed.
Important:
- MAPI needs to log in to the mailer software. The first login could take time, depending on the
mailer software. Your Genero application will be blocked until MAPI returns.
- MAPI depends on the mailer software for error management. For instance, Mozilla Thunderbird
returns "success" when the mail is created, but Outlook 2002 only returns "success" when the mail is
sent.
Usage
This function sends the mail by using the MAPI protocol. With MAPI, the default mailer software
is called to create the mail. The user must press the "send" button to send the mail.