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 tag is usually returned from an [Email_Compose] object.

The tag 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 tag returns True if the message sent successfully or False otherwise.

  • Syntax
  • Parameters
[Var: 'Email' = (Email_Compose: ...)]

[Var: 'SMTP' = (Email_SMTP)]
[$SMTP->(Open: -Host='smtp.example.com', -Username='JohnDoe', -Password='Example')]
[$SMTP->(Send: -From=$Email->From, -Recipients=$Email->Recipients, -Message=$Email->Data)]
[$SMTP->Close]
Required Parameters
-From The email address of the person sending the message.
-Recipients An array of all -To, -Cc, and -Bcc recipients of the message.
-Message The raw MIME data of the message.
Examples

See the Lasso 8 Language Guide for examples of how to use this tag.

Tag Link [Email_SMTP->Send] Category Email
Type Member Data Source Any
Support Preferred Version 8.0
Output Type Boolean Security Tag
Implementation LDML Sets Lasso 8.5, Lasso 8.0

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