WinMail API front calls
The WinMail API is based on the front call technique as described in front-end functions. All WinMail functions are grouped in the WinMail front-end function module.
| Function name | Description | 
|---|---|
The Init function initializes the
module. | 
|
| 
 Important: This feature is deprecated, its use is
discouraged although not prohibited. 
 | 
The Close function clears all information
corresponding to a message, and frees the memory occupied by the message. | 
| 
 Important: This feature is deprecated, its use is
discouraged although not prohibited. 
 | 
The SetBody function sets the body of the
mail. | 
| 
 Important: This feature is deprecated, its use is
discouraged although not prohibited. 
 | 
The SetSubject function sets the subject of the
mail. | 
| 
 Important: This feature is deprecated, its use is
discouraged although not prohibited. 
 | 
The AddTo function adds a "To"
addressee to the mail.
 | 
| 
 Important: This feature is deprecated, its use is
discouraged although not prohibited. 
 | 
The AddCC function adds a "CC"
addressee to the mail.
 | 
| 
 Important: This feature is deprecated, its use is
discouraged although not prohibited. 
 | 
The AddBCC function adds a "BCC"
addressee to the mail.
 | 
| 
 Important: This feature is deprecated, its use is
discouraged although not prohibited. 
 | 
The AddAttachment function adds a file as an
attachment to the mail. | 
| 
 Important: This feature is deprecated, its use is
discouraged although not prohibited. 
 | 
The SendMailSMTP function sends the
mail with the SMTP protocol. | 
| 
 Important: This feature is deprecated, its use is
discouraged although not prohibited. 
 | 
The SendMailMAPI function sends
the mail with the MAPI protocol. | 
| 
 Important: This feature is deprecated, its use is
discouraged although not prohibited. 
 | 
The GetError function gets a description of the
last error that occurred. | 
The following functions are needed when you use SMTP server connections:
| Function name | Description | 
|---|---|
| 
 Important: This feature is deprecated, its use is
discouraged although not prohibited. 
 | 
The SetSmtp function sets the SMTP server to be
used. | 
| 
 Important: This feature is deprecated, its use is
discouraged although not prohibited. 
 | 
The SetFrom function sets sender information.
 |