Skip to content

Report\_SendMail

Sends generic mail.
Recommended for Reporting Job-status.
The sender of the email can be specified in Capalib.ini.

Report_SendMail(sSMTPServer, sFromEmail, sFromName, sToEmail, sToName, sSubject, sBody) As Boolean

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

VBScript

If bStatus Then bStatus = Report_SendMail("127.0.0.1", "name@alias.com", "Name", "adm@dom.com", "Admin", "Hello", "World!")

Scripting Guidelines

Job_Webreport