Example of using email with Worksoft Certify

Problem Title : 
-------------------- 
Email integration using Certify 

Pre-Requirements : 
----------------------------- 
The user needs the following items in order to to send emails to the recipient through Certify. 
1.SMTP Client software

2.SMTP Server (which must be running) 

 Using Command Line SMTP.

Command Line SMTP is a Windows command line SMTP client enabling quick & simple communication with an SMTP server from the command line. Command Line SMTP can be called directly from the command prompt or from within a batch file allowing multiple separate emails to be sent. Command Line SMTP is a free tool (not affiliated with Worksoft) can be downloaded from http://www.commandlinesmtp.com/#HelpQuestion005

Details: 
-------------------------- 

Copy the commandlinesmtp.exe to the same location as your batch script. Ex: If the batch script that sends out email is located at C:\temp, then copy commandlinesmtp.exe file to C:\temp.
Then use command line in batch script to send out emails in the following format.
 
CommandLineSMTP.exe /smtpserver:mail.mydomain.com /to: This email address is being protected from spambots. You need JavaScript enabled to view it. /from: This email address is being protected from spambots. You need JavaScript enabled to view it. /subject:"Test Message." /message:"This is a test message."
Or
CommandLineSMTP.exe /smtpserver:mail.mydomain.com /to: This email address is being protected from spambots. You need JavaScript enabled to view it. /from: This email address is being protected from spambots. You need JavaScript enabled to view it. /subject:"Testing." /messagefile:"C:\EmailBody.txt"
 
Optional parameters...
 
/username   (e.g. /username: This email address is being protected from spambots. You need JavaScript enabled to view it. )
/password   (e.g. /password:mysecurepassword)
/fromdisplayname   (e.g. /fromdisplayname:"John Doe")
/format   (e.g. /format:text or /format:html) - Text is default.
/attachment   (e.g. /attachment:"C:\Attachment.zip") - Multiple attachments are supported.
/port   (e.g. /port:25) - Supported ports are 25, 26, 587, 2525 - 25 is default.
 
Full Example Including Optional Parameters With Multiple Attachments:
 
CommandLineSMTP.exe /smtpserver:mail.mydomain.com /to: This email address is being protected from spambots. You need JavaScript enabled to view it. /from: This email address is being protected from spambots. You need JavaScript enabled to view it. /subject:"Testing." /messagefile:"C:\EmailBody.html" /username: This email address is being protected from spambots. You need JavaScript enabled to view it. /password:mysecurepassword fromdisplayname:"John Doe" /format:html /attachment:"C:\Report.xls" /:attachment:"C:\Report.pdf" /port:25
 
* Mandatory parameters must appear in the order specified.
* Optional parameters can appear in any order.
* If username is specified, password must be specified too.
* Full file paths must be specified.
* ERRORLEVEL is returned. 1 indicates failure, 0 indicates success.