Send simple email action allows sending an email from one email address to another.
You can edit several parameters: the text and the subject of the message, the sender and recipient email addresses. You can also attach files of any format supported by your email service provider.
This action is available at any event except JavaScript onload events.
Note: To use this action, you have to set up the Email settings. Press this button on the toolbar or write the code manually.
'********** Send simple email ************
dim tmpDict
set tmpDict = CreateObject("Scripting.Dictionary")
tmpDict("to")="[email protected]"
tmpDict("subject")="Sample subject"
tmpDict("body")="Hello there" & vbcrlf & "Best regards"
set attachments = CreateObject("Scripting.Dictionary")
set tmpDict("attachments") = attachments
set ret=runner_mail(tmpDict)
if not ret("mailed") then
response.write ret("message")
end if
To learn how to customize email templates, see Registration and passwords: Email templates.
See also:
•Send an email with attachment
•Send an email to selected users
•How to email selected records as separate PDF files