Laravel gmail 用户不会收到邮件

Laravel mail will not receive by gmail users

当我通过 laravel non-gmail 帐户发送电子邮件时 将收到 电子邮件但 Gmail accounts 不会, 这里有没有人遇到过这样的问题? 知道是什么原因造成的吗?

As my emails are receiving with half of the users I don't think the issue is my code but just in case i share it here as well.

Observe

class SellerObserve
{
    public function created(Seller $seller)
    {
        Mail::to($seller->email)->send(new SellersWelcome($seller));
    }
}

mail

class SellersWelcome extends Mailable
{
    use Queueable, SerializesModels;
    public $seller;

    public function __construct(Seller $seller)
    {
        $this->seller = $seller;
    }

    public function build()
    {
        return $this->subject('Welcome')->markdown('emails.sellers.welcome');
    }
}

env

MAIL_MAILER=sendmail
MAIL_HOST=MY_SERVER_IP
MAIL_PORT=587
MAIL_USERNAME=MY_EMAIL_ADDRESS
MAIL_PASSWORD=MY_EMAIL_PASSWORD
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=MY_EMAIL_ADDRESS
MAIL_FROM_NAME="${APP_NAME}"

我已将我的邮件设置更改为 GMAIL(我的发件人将是 gmail 而不是我的主机)然后我从帐户设置中打开了较低的安全性,现在它会向包括 gmail 用户在内的所有提供商发送电子邮件。

env

MAIL_MAILER=smtp
MAIL_HOST=smtp.googlemail.com
MAIL_PORT=465
MAIL_USERNAME=MY_EMAIL_ADDRESS
MAIL_PASSWORD=MY_EMAIL_PASSWORD
MAIL_ENCRYPTION=ssl
MAIL_FROM_ADDRESS=MY_EMAIL_ADDRESS
MAIL_FROM_NAME="${APP_NAME}"