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


Sends an email.


Parameters


  • /recipient="..."
    Defines one or multiple email addresses. Multiple addresses must be separated by a blank space or a comma.

  • /subject="..."
    Defines the subject of the email.

  • /body="..."
    Defines the body text of the email. You can use \n to insert line breaks.

  • /attachfile="..."
    Adds an attachment to the email, including the full path and 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"