Sending Emails
BoxLang gives you the mail
tag/construct to easily send email in text or HTML format without ceremony. Just register your mail servers in the administrators or the Application.bx
and you are ready to start sending emails in a jiffy!
Query Binding
You can even bind the mail construct with a query, and the engine will send as many emails as rows in the query for you:
Sending Attachments
You can also send attachments to your email destinations very easily using the mimeattach
attribute or via the child mailparam()
construct, which allows you to send multiple attachments or headers.
Last updated