Lasso Soft Inc. > Home

[ email_smtp->send ]


[Email_SMTP->Send] sends a single email message through an open SMTP connection. Data for the parameters of the method is usually returned from an [Email_Compose] object.

The method requires three parameters: -From is the email address of the person sending the message, -Recipients is an array of email addresses including every -To, -CC, and -BCC recipient of the message, and -Message is the MIME encoded body of the email message.

The method returns True if the message sent successfully or False otherwise.

  • Syntax
var(Email = Email_Compose(...)

var(SMTP = Email_SMTP)
$SMTP->Open(-Host='', -Username='JohnDoe', -Password='Example')
$SMTP->Send(-From=$Email->From, -Recipients=$Email->Recipients, -Message=$Email->Data)

No examples found

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home



©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft