Function CSPMail::Send()
Description:
Sends the email with the messages, documents or other files contained in the MIME object.
 |
Prototype:
bool Send(CSPMime& MIME);
Arguments:
- CSPMime& MIME [IN]
The MIME object to send.
Return value:
If successful, it returns true. Otherwise, it returns false.
Remarks:
Before you call this member function, you should set the appropriate values for at least the member variables To, MailServer, and SenderAddr
This function will automatically set the content type of the mail. Any value assigned to the member variable ContentType will be overriden.
Examples:
CSPMail Mail; Mail.To = "info@micronovae.com"; Mail.From = "sender@somemail.net"; Mail.MailServer = "mailserver.somemail.net"; Mail.Subject = "CSP mail";
Mail.Send( MIME );
See also:
member function Send() class CSPMime
|
|