Page 1 of 1

htmlMimeMail -> ends up as junk mail

Posted: Wed Mar 02, 2005 9:09 pm
by Mini-Me
I was just using the plain mail() function because I don't really have need for anything complicated, but it kept ending up as junk mail. I read that a lot of times it will be read as junk if it doesn't have a message-id. So now I'm using htmlMimeMail. But it still ends up as junk mail! :( Am I just missing a header or something?

Posted: Wed Mar 02, 2005 9:18 pm
by John Cartwright
Are you sending a return email address?

You may have better luck searching the forums here for something like +email +junk

Posted: Wed Mar 02, 2005 9:20 pm
by John Cartwright
a quick searched turned up...

viewtopic.php?t=22964&highlight=email+junk

Posted: Wed Mar 02, 2005 9:50 pm
by Mini-Me
well, no one ever figured that problem out. :/
Let's see... Here's the source output:

Code: Select all

X-Message-Status: n
X-SID-PRA: yours truly <yours_truly@somewhere.net>
X-SID-Result: TempError
X-Message-Info: 6sSXyD95QpXC5+5paPKZ00n89eMLbRdqG87BAScYC4s=
Received: from localhost.localdomain (&#1111;69.29.143.136]) by mc1-f9.hotmail.com with Microsoft SMTPSVC(6.0.3790.211);
	 Wed, 2 Mar 2005 19:39:58 -0800
Received: from localhost.localdomain (localhost.localdomain &#1111;127.0.0.1])
	by localhost.localdomain (8.12.11/8.12.11) with ESMTP id j233cQQH026035
	for <removed@hotmail.com>; Wed, 2 Mar 2005 21:38:26 -0600
Received: (from apache@localhost)
	by localhost.localdomain (8.12.11/8.12.11/Submit) id j233cQm0026034;
	Wed, 2 Mar 2005 21:38:26 -0600
Date: Wed, 2 Mar 2005 21:38:26 -0600
To: removed@hotmail.com
Subject: this is the whatever
MIME-Version: 1.0
From: "yours truly" <yours_truly@somewhere.net>
X-Mailer: HTML Mime mail class (http://www.phpguru.org)
Reply-To: yours_truly@somewhere.net
To: removed@hotmail.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Message-ID: <icrbg2.81l0ed@192.168.1.101>
Return-Path: apache@localhost.localdomain
X-OriginalArrivalTime: 03 Mar 2005 03:39:58.0978 (UTC) FILETIME=&#1111;AC897620:01C51FA2]

this is the message
another line
yet another
There IS this:
X-SID-Result: TempError
Any ideas on that?

btw, while I'm on it, is there a way I can change the localhost.localdomain and/or the Return-Path?

Posted: Thu Mar 03, 2005 11:08 am
by Mini-Me
gmail source:

Code: Select all

X-Gmail-Received: e996081c163cef00a19071651db162d1a8d0ea8c
Delivered-To: removed@gmail.com
Received: by 10.38.74.4 with SMTP id w4cs9428rna;
        Thu, 3 Mar 2005 09:04:51 -0800 (PST)
Received: by 10.54.69.20 with SMTP id r20mr34845wra;
        Thu, 03 Mar 2005 09:04:46 -0800 (PST)
Return-Path: <apache@localhost.localdomain>
Received: from localhost.localdomain (&#1111;69.29.138.99])
        by mx.gmail.com with ESMTP id g7si654557wra.2005.03.03.09.04.45;
        Thu, 03 Mar 2005 09:04:46 -0800 (PST)
Received-SPF: neutral (gmail.com: 69.29.138.99 is neither permitted nor denied by domain of apache@localhost.localdomain)
Received: from localhost.localdomain (localhost.localdomain &#1111;127.0.0.1])
	by localhost.localdomain (8.12.11/8.12.11) with ESMTP id j23H49AC027545
	for <removed@gmail.com>; Thu, 3 Mar 2005 11:04:09 -0600
Received: (from apache@localhost)
	by localhost.localdomain (8.12.11/8.12.11/Submit) id j23H48fe027544;
	Thu, 3 Mar 2005 11:04:08 -0600
Date: Thu, 3 Mar 2005 11:04:08 -0600
To: removed@gmail.com
Subject: testing
MIME-Version: 1.0
From: "Me" <me@somewhere.test>
X-Mailer: HTML Mime mail class (http://www.phpguru.org)
Reply-To: me@somewhere.test
To: removed@gmail.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Message-ID: <icscqw.yqx33f@192.168.1.101>

this
is
a
test
This looks like it might have something to do with it:
Received-SPF: neutral (gmail.com: 69.29.138.99 is neither permitted nor denied by domain of apache@localhost.localdomain)

But how can I set up apache@localhost.localdomain to be different??