The behavior sends a e-mail message with attached file (if any). It uses Microsoft CDO for Windows 2000 Library. CDO (Collaboration Data Objects) are accessed using VbScriptXtra.
To use this behavior replace SMTP server setting to a proper value.
-- Handler uses CDO.Configuration and CDO.Message objects
-- to send e-mail
on SendMail strTo, strText, strFileToAttach
conf = xtra("VbScriptXtra").CreateObject("CDO.Configuration")
if stringP(conf) then
alert conf
exit
end if
conf.fields[conf.cdoSendUsingMethod] = conf.cdoSendUsingPort
conf.fields[conf.cdoSMTPServer].Value = "smtpServerHere"
conf.fields.Update()