Yii2 sending mail does not reach gmail

yii2 mail delivery reaches other accounts without problems, but when I send to a Gmail account it never appears anywhere, neither in the mailbox nor in the spam folder

Has this bug been reported?

Do you have a solution that doesn’t switch to using SMTP?


Gmail has some extra security in place. Make sure your server / mails are OK against https://mxtoolbox.com/