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