|
To send a simple email use Send simple email action.
Note: Change the values listed in
red to match your specific needs.
'********** Send simple email ************
' do not forget to setup email parameters like From, SMTP server etc
' on 'Security->User login settings' dialog
dim tmpDict
set tmpDict = CreateObject("Scripting.Dictionary")
tmpDict("to")="--rbegin--test@test.com--rend--"
tmpDict("subject")="--rbegin--Sample subject--rend--"
tmpDict("body")=--rbegin--"Hello there" & vbcrlf & "Best regards"--rend--
set ret=runner_mail(tmpDict)
if not ret("mailed") then
response.write ret("message")
end if
|
You can send HTML email as well:
// ********** Send HTML email ************
set params = CreateObject("Scripting.Dictionary")
params("to")="test@test.com"
params("subject")="Sample subject"
params("htmlbody")="<body><html><p>Hello there</p>Best regards</body></html>"
params("charset")="UTF-8"
runner_mail(params)
|
More info on runner_mail function.
|