Problems with SendMail

Hello Guys,

Am new to this forum :roll: . I tried a lot to use sendMail function but could not get it working. Anyone please suggest what is going wrong or if any other settings have to be done.

References used-
http://docs.testplant.com/?q=book/export/html/640 - For setting Preferences. The preferences window does not have any kind of save button which is weird, how do we make sure preferences are saved!
Eggplant functional ver.16.01-Windows

Tested with TLS, SSL and all the ports listed on https://support.google.com/a/answer/176600?hl=en for gmail.

When i run the script with this line below,
sendMail (To:"[email protected]", Subject:"Test email worked!")

Am getting this error (screenshot attached):-

12/06/2016, 15:43:50 START Running Untitled3.script
12/06/2016, 15:44:21 Exception sendmail Failed (see console for details).
12/06/2016, 15:44:21 EndTestCase (Duration:"30.832", Errors:"1", Exceptions:"1", StartTime:"2016-06-12 15:43:50 +0100", Successes:"0", TestCase:"Untitled3.script", Warnings:"0")
12/06/2016, 15:44:21 FAILURE Error Running Script Command sendmail Error - sendmail Failed (see console for details). -- Execution Time 0:00:31 Untitled3.script

Comments

Sign In or Register to comment.