A static/shared method for sending email.
True if the send was successful.
This method creates a textual email. For a Html formatted email, see SendHtml().
[C#]
string emailBody = CreateNewsletter(); //custom method to create the email body
EmailMessage.Send( "me@mycompany.com", "you@yourcompany.com;him@hiscompany.com", "Daily Newsletter", emailBody, "127.0.0.1" );
[Visual Basic]
Dim emailBody As String = CreateNewsletter() 'custom method to create the email body
EmailMessage.Send("me@mycompany.com", "you@yourcompany.com;him@hiscompany.com", "Daily Newsletter", emailBody, "127.0.0.1")
EmailMessage Class | aspNetEmail Namespace | EmailMessage.Send Overload List