Jump to content

PHP Email Headers


unemployment

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: myname@gmail.com

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: <www-data@mynewdomain.com>

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 www-data@mynewdomain.com 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 www-data@mynewdomain.com designates 173.0.59.100 as permitted sender) smtp.mail=www-data@mynewdomain.com

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

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

To: myname@gmail.com

Subject: Closed Beta Invitation from My Name

From: mynewdomain <contact@mynewdomain.com>

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
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: jason@gmail.com

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: <contact@big.com>

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 contact@big.com 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 contact@big.com designates 173.0.59.100 as permitted sender) smtp.mail=contact@big.com

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

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

To: jason@gmail.com

Subject: Closed Beta Invitation from Jason

From: BIG <contact@big.com>

Reply-To: BIG <contact@big.com>

X-Mailer: PHP-5.3.8

X-Sender: contact@big.com

X-Priority: 3

Organization: BIG

MIME-Version: 1.0

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

Message-Id: <20110830123700.DBDDD2F41159@big.com>

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

Modify message

 

Link to comment
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.