[Email_POP->Authorize] can be used to authorize as a given user on an email server. The same parameters which this method accepts can also be entered directly into the [Email_POP] method in order to perform the authorization as soon as a connection to the remote server is made.
The tag requires two parameters: a -Username and -Password. An optional parameter -APOP=True/False allows APOP authentication to be turned on or off.
Var(myPOP = Email_POP(-Host='mail.example.com'))
$myPOP->authorize(-username='example',-password='example')
Iterate($myPOP, Var(UniqueID))
$myPOP->Delete
...
/Iterate
$myPOP->Close
No examples 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 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments