Function CSPMail::Send()

Description:
Sends the email with the message contained in the member variable Message

Prototype:
bool Send();

Arguments:
No arguments (void).

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, SenderAddr, and Message

Examples:
CSPMail Mail;
Mail.To = "info@micronovae.com";
Mail.From = "sender@somemail.net";
Mail.MailServer = "mailserver.somemail.net";
Mail.Subject = "CSP mail";
Mail.Message = "This is a CSP mail example";
Mail.Send();

See also:
member function Send( CSPMime& )
CSPMail | Other support classes | Class Categories | Online help home | Back

www.micronovae.com

Copyright © 2002 - 2005 Micronovae Ltd