Report_SendMail
Description
Sends generic mail.
Recommended for Reporting Job-status.
The sender of the email can be specified in Capalib.ini.
Â
Syntax
Report_SendMail(sSMTPServer, sFromEmail, sFromName, sToEmail, sToName, sSubject, sBody) As Boolean
Â
Parameters
sSMTPServer (String)
SMTP mail-server
sFromEmail (String)
Email from address
sFromName (String)
Email from name
sToEmail (String)
Email to address
sToName (String)
Email to name
sSubject (String)
Email subject
sBody (String)
Email contents
Example
VBScript
If bStatus Then bStatus = Report_SendMail("127.0.0.1", "name@alias.com", "Name", "adm@dom.com", "Admin", "Hello", "World!")
Â