I am using following code to send email. The Code works correctly in my local Machine. But on Production server i am getting the error message
var fromAddres
try changing the host, this is the new one, I got this configuring mozilla thunderbird
Host = "smtp.googlemail.com"
that work for me