Jump to content

Recommended Posts

I have an email generated from PHP but it's getting placed in gmails spam folder.  Any idea how to get rid of my old domain from being displayed?  Is this something I do in php or in ubuntu command line?  If I have to change something in ubuntu, how do I edit the olddomainname.

 

Here are the headers...

 

Delivered-To: [email protected]

Received: by 10.204.7.18 with SMTP id b18cs39080bkb;

        Fri, 26 Aug 2011 10:18:41 -0700 (PDT)

Received: by 10.90.21.11 with SMTP id 11mr1399661agu.42.1314379120253;

        Fri, 26 Aug 2011 10:18:40 -0700 (PDT)

Return-Path: <[email protected]>

Received: from olddomain.com ([173.0.59.100])

        by mx.google.com with ESMTP id d18si2778913anm.121.2011.08.26.10.18.38;

        Fri, 26 Aug 2011 10:18:39 -0700 (PDT)

Received-SPF: pass (google.com: domain of [email protected] designates 173.0.59.100 as permitted sender) client-ip=173.0.59.100;

Authentication-Results: mx.google.com; spf=pass (google.com: domain of [email protected] designates 173.0.59.100 as permitted sender) [email protected]

Received: by olddomain.com (Postfix, from userid 33)

id 339452F41206; Fri, 26 Aug 2011 13:18:31 -0400 (EDT)

To: [email protected]

Subject: Closed Beta Invitation from My Name

From: mynewdomain <[email protected]>

Reply-To: ***** <contact@*****.com>

MIME-Version: 1.0

Content-Type: text/html; charset=ISO-8859-1

Message-Id: <20110826171831.339452F41206@*****.com>

Date: Fri, 26 Aug 2011 13:18:31 -0400 (EDT)

Link to comment
https://forums.phpfreaks.com/topic/245775-php-email-headers/
Share on other sites

I've altered my headers a bit. Here are the new ones.

 

I'm not sure why my email is going to gmail spam.  I have been trying to fix this issue for about three days now.  I have a valid RDNS , MX and SPF record.  The full email headers are show below.  I'm not sure what I am missing.

 

Delivered-To: [email protected]

Received: by 10.204.36.196 with SMTP id u4cs40852bkd;

        Tue, 30 Aug 2011 05:37:11 -0700 (PDT)

Received: by 10.236.177.69 with SMTP id c45mr32611727yhm.97.1314707830686;

        Tue, 30 Aug 2011 05:37:10 -0700 (PDT)

Return-Path: <[email protected]>

Received: from big.com (big.com [173.0.59.100])

        by mx.google.com with ESMTP id g2si5806973yhe.150.2011.08.30.05.37.09;

        Tue, 30 Aug 2011 05:37:09 -0700 (PDT)

Received-SPF: pass (google.com: domain of [email protected] designates 173.0.59.100 as permitted sender) client-ip=173.0.59.100;

Authentication-Results: mx.google.com; spf=pass (google.com: domain of [email protected] designates 173.0.59.100 as permitted sender) [email protected]

Received: by big.com (Postfix, from userid 33)

  id DBDDD2F41159; Tue, 30 Aug 2011 08:37:00 -0400 (EDT)

To: [email protected]

Subject: Closed Beta Invitation from Jason

From: BIG <[email protected]>

Reply-To: BIG <[email protected]>

X-Mailer: PHP-5.3.8

X-Sender: [email protected]

X-Priority: 3

Organization: BIG

MIME-Version: 1.0

Content-Type: multipart/alternative; boundary=PHP-alt-e5123bae822ccd1b2897321b6db4fdc5

Message-Id: <[email protected]>

Date: Tue, 30 Aug 2011 08:37:00 -0400 (EDT)

Modify message

 

Link to comment
https://forums.phpfreaks.com/topic/245775-php-email-headers/#findComment-1263502
Share on other sites

perhaps the big.com domain or its mail server has been used or is being used by other emails flagged as spam, so google may have them flagged as going to spam.  There is nothing you can really do about that except find a more reputable host to host your stuff on.

Link to comment
https://forums.phpfreaks.com/topic/245775-php-email-headers/#findComment-1263733
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.