Lasso Soft Inc. > Home

[ email_smtp->open ]

Method

[Email_SMTP->Open] opens a connection to a remote SMTP server so emails can be sent through it. The method requires one parameter which is the -Host to connect to. An optional -Username and -Password can be specified if authorization is required on the SMTP server.

Optional parameters include -Timeout, -Port, -SSL and -clientip. Normally the default values for these parameters are used, but they can be changed if necessary.

  • Syntax
var(SMTP = Email_SMTP)
$SMTP->Open(-Host='smtp.example.com', -Username='JohnDoe', -Password='Example')
$SMTP->Send(...)
$SMTP->Close
Examples

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