NYCPHP Meetup

NYPHP.org

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

Brent Baisley brenttech at gmail.com
Tue Nov 25 13:13:34 EST 2008


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



More information about the talk mailing list