unemployment Posted August 26, 2011 Share Posted August 26, 2011 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) Quote Link to comment https://forums.phpfreaks.com/topic/245775-php-email-headers/ Share on other sites More sharing options...
unemployment Posted August 30, 2011 Author Share Posted August 30, 2011 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 Quote Link to comment https://forums.phpfreaks.com/topic/245775-php-email-headers/#findComment-1263502 Share on other sites More sharing options...
.josh Posted August 30, 2011 Share Posted August 30, 2011 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. Quote Link to comment https://forums.phpfreaks.com/topic/245775-php-email-headers/#findComment-1263733 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.