Email is a spam for gmail and disappear for hotmail + yahoo
Posted: Thu Jul 05, 2007 11:15 pm
Hi...
I've tested Swiftmailer to send email to gmail, hotmail, and yahoo accounts. Gmail recieved the email but it was in the Spam folder. Hotmail and Yahoo did not recieved the email at all.
Swiftmailer did actually send it as I checked by "$sent = $swift->send($message, $to, $from);" There is no email left in the server spool. So, I assumed that my mail is considered a Junk mail.
I've read the spam doc on http://www.swiftmailer.org/wikidocs/v3/tips/spam and I believed my problem was in the "Identify Yourself" section on this article. My email header (checked from gmail) contained the word "localhost" as below
I've used sendmail connection as "$swift = new Swift(new Swift_Connection_Sendmail(SENDMAIL_PATH));". Some of my friend suspected that the sendmail process was the one that put the localhost header but I have no idea.
Can someone please help me?
Thanks,
- Klang
I've tested Swiftmailer to send email to gmail, hotmail, and yahoo accounts. Gmail recieved the email but it was in the Spam folder. Hotmail and Yahoo did not recieved the email at all.
Swiftmailer did actually send it as I checked by "$sent = $swift->send($message, $to, $from);" There is no email left in the server spool. So, I assumed that my mail is considered a Junk mail.
I've read the spam doc on http://www.swiftmailer.org/wikidocs/v3/tips/spam and I believed my problem was in the "Identify Yourself" section on this article. My email header (checked from gmail) contained the word "localhost" as below
I just have no idea how to correct this problem. I've edited the /etc/hosts as recommended in the article, but nothing changed.Delivered-To: isara@jkcompany.biz
Received: by 10.35.35.15 with SMTP id n15cs302588pyj;
Thu, 5 Jul 2007 06:42:28 -0700 (PDT)
Received: by 10.141.159.13 with SMTP id l13mr2349516rvo.1183642948167;
Thu, 05 Jul 2007 06:42:28 -0700 (PDT)
Return-Path: <sadmin@coolswop.com>
Received: from thaieshop.net ([202.151.177.174])
by mx.google.com with ESMTP id b21si3985666rvf.2007.07.05.06.42.25;
Thu, 05 Jul 2007 06:42:28 -0700 (PDT)
Received-SPF: pass (google.com: domain of sadmin@coolswop.com designates 202.151.177.174 as permitted sender)
Received: by thaieshop.net (Postfix, from userid 48)
id 8692A7198CA2; Thu, 5 Jul 2007 20:43:00 +0700 (ICT)
Received: from coolswop.com (localhost [127.0.0.1])
by thaieshop.net (Postfix) with ESMTP id 473967198C54
for <isara@jkcompany.biz>; Thu, 5 Jul 2007 20:43:00 +0700 (ICT)
To: Klang - <isara@jkcompany.biz>
From: CoolSwop <sadmin@coolswop.com>
Reply-To: CoolSwop <sadmin@coolswop.com>
Subject: Confirm your e-mail address for CoolSwop
Date: Thu, 05 Jul 2007 20:43:00 +0700
X-Mailer: Swift 3.1.5
MIME-Version: 1.0
I've used sendmail connection as "$swift = new Swift(new Swift_Connection_Sendmail(SENDMAIL_PATH));". Some of my friend suspected that the sendmail process was the one that put the localhost header but I have no idea.
Can someone please help me?
Thanks,
- Klang