Search code examples
emailoutlookgmail

Gmail is not receiving bulk emails from 1 specific email


I am sending emails from an Outlook account(noreply account for bulk emails) to Gmail. But the emails are not being received by the gmail account although the same is received by any other email service (Outlook, hotmail, tempmails). There is no restriction at my end to restrict to send to Gmail. When I use my other Outlook account to send to the same Gmail account the email is received.

I am confused as to what could be the reason.

> Bulk Email Outlook -> Other than Gmail Account (Working)
> Personal Email Outlook -> Other than Gmail Account (Working)
> Personal Email Outlook -> Gmail Account (Working)
> Bulk Email Outlook -> Gmail Account (Not Working)

My program even shows that email is successfully fetched and email sent to it but the email is not received.

The code is working fine and there is nothing specific that I mentioned about Gmail. Just to mention, I used smtp_port = 25


Solution

  • Here's how I solved this.

    I just added

    smtp_domain = 'DHL.COM'

    Write below

    smtp_server = "smtp-nix.dhl.com.pk"
    smtp_port = 25

    And that's it.