Hi Meenakshi,
I am "error coulnd't establish connection" error when i am trying to send the mail.
Could please help me to resolve issue?
Here I have attached the snapshots
var mail = new $.net.Mail({
sender: {address: "varathan.cs@gmail.com"},
to: [{ address: "varathan.cs@gmail.com"}],
subject: "XSJS Email Test",
parts: [ new $.net.Mail.Part({
type: $.net.Mail.Part.TYPE_TEXT,
text: "The body of the mail.",
contentType: "text/plain"
})]
});
var returnValue = mail.send();
var response = "MessageId = " + returnValue.messageId +
", final reply = " + returnValue.finalReply;
Thanks
Varathan A