SendMail

Top  Previous  Next

SendMail /recipient="..." /subject="..." /body="..." /attachfile="..."

 

Sends an e-mail.

 

Parameters

 

/recipient="..."
defines one or multiple e-mails. Multiple e-mails must be separated with a blank or a comma.

 

/subject="..."
defines the subject of the e-mail

 

/body="..."
defines the body text of the e-mail, you can use \n for line breaks.

 

/attachfile="..."
adds an attachment to the e-mail (full path + file name). You can use the variables {programdir} and {bookmarkdir}. {programdir} is the installation directory of WebSite-Watcher, {bookmarkdir} is the directory of the currently opened bookmark file (*.wsw). See also Predefined variables.

 

Example:

SendMail /recipient="support@domain.com, info@domain2.com" (+)
         /subject="WSW-Report" /body="Attached a WSW report" (+)
         /attachfile="{bookmarkdir}report.htm"




Translate document: