2👍
✅
This is a security setting with gmail. I ran into this issue with a rails app that I wrote. The from address must either be the account you sign in with aka ‘no-actual-account@gmail.com’ or an alias to that account. You can always just set the reply-to and get a similar effect to changing the from address. Or you will have to use a different SMTP server.
Source:stackexchange.com