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
First, I purchased the domain in GoDaddy, and when I clicked this link https://www.google.com/settings/security/lesssecureapps I didn't have the option, it show this message "The domain administrator manages these settings", so I go to the Admin Console https://admin.google.com/
There is this option
Then appears the option that I needed in