NYCPHP Meetup

[nycphp-talk] PHP mail() signup confirmation for JewFind.comdoes not get delivered consistently

NYPHP nyphporg at dynamicink.com
Tue Nov 25 16:32:00 EST 2008


Brent,

It appears that SwiftMail operates like an SMTP but it also tracks delivery 
stats, is that right? It is easy to reconfigure either PHP or the current 
SMTP server to relay mail through another server like SwiftMail, but why 
would SwiftMail yield any higher delivery rates?


----- Original Message ----- 
From: "Brent Baisley" <brenttech at gmail.com>
To: "NYPHP Talk" <talk at lists.nyphp.org>
Sent: Tuesday, November 25, 2008 1:13 PM
Subject: Re: [nycphp-talk] PHP mail() signup confirmation for JewFind.comdoes 
not get delivered consistently


> On Sun, Nov 23, 2008 at 11:03 AM, Hans Zaunere <lists at zaunere.com> wrote:
>>> A client of mine (www.JewFind.com) is using the PHP mail() function to
>>> send signup email-confirmations and it works most of the time, but
>>> quite a few users have contacted them saying that they did not receive
>>> the email. We discovered that Yahoo mail requires the "-f
>>> sender at domain.com" header to deliver to the inbox instead of the
>>> junkmail box- anyone know if there other headers that can be added to
>>> make the delivery more reliable?
>>
>> -- Use -fsomething at somehwere.com header
>>
>> -- Make sure the web server's user is in /etc/mail/trusted-users if using
>> sendmail/etc.
>>
>> -- And most importantly: relay mail through a real mail server with 
>> proper
>> DNS records, etc.  Many places now check for the correct DNS records and
>> listening SMTP ports to ensure it's a real server sending the mail.  Web
>> servers won't pass these tests.
>>
>> H
>
> For this very reason I switched to SwiftMail long ago (written in
> PHP). I can log into an account on a mail server (i.e. gmail) and send
> emails through that account. It's free and very robust, but also has a
> "simple" mode.
>
> Brent Baisley
> _______________________________________________
> New York PHP User Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> http://www.nyphp.org/show_participation.php 




More information about the talk mailing list