I can't make gmail smtp send email from my Meteor website when I use my new *.ca domain. Everything works fine if I use another domain.
This is the mup.json mail url:
"MAIL_URL": "smtp://user%40domain.ca:password@smtp.gmail.com:465"
If i replace that line by another working website that i created, it works:
"MAIL_URL": "smtp://user%40domain2.com:password2@smtp.gmail.com:465"
EDIT The log of the error is: AuthError: Invalid login
It turned out I had to allow access for less secure apps in my google apps account, as explained in this google support answer:
https://support.google.com/accounts/answer/6010255
That fixed the issue.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.