email_batch => {
email_send(...)
email_send(...)
email_send(...)
email_send(...)
email_send(...)
}
The example below loops through the email addresses it pulls from a database and queues up a message to each address.
Code
email_batch => {
records(-inlineName='emails') => {
email_send(-host='mail.example.com',
-from='hostmaster@example.com',
-to=field('email'),
-subject='Possible Virus',
-body='Your computer may have been hacked.'
)
}
}
Result
A message has been added to the email queue for each found email address
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
">
Posted on: 19 August 2019