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
Its a security issue, Gmail by default prevents access for your e-mail account from custom applications. You can set it up to accept the login from your application.
After Logging in to your e-mail, CLICK HERE
This will take you to the following page