Welcome Guest, Not a member yet? Register   Sign In
My application's email messages aren't being delivered
#1

[eluser]KeyStroke[/eluser]
Hi,

I'm having a stubborn problem with my application where the e-mails it sends isn't received by many e-mail providers. Some receive them, but classify them as spam, which is not acceptable.

I'm using PHP's mail functions, and sending these headers:
Code:
$eol = "\n";
        $headers = 'From: ' . email_address('info') .$eol;
        $headers .= 'Reply-To: ' . email_address('info') .$eol;
        $headers .= 'Return-Path: ' . email_address('info') .$eol;    // these two to set reply address
        $headers .= 'Content-Type: text/html; charset="iso-8859-1" ' . $eol;
        $headers .= 'Content-Transfer-Encoding: 7bit ' . $eol;
        $headers .= "Message-ID: <".time()." [email protected]".$_SERVER['SERVER_NAME'].">".$eol;
        $headers .= "X-Mailer: PHP v".phpversion().$eol;
the email_adress() function just returns one of our e-mail addresses from the database.

1) How do I fix this issue and insure my emails are delivered to everyone?

2) Is there any decent CI email library I could use that works with CI 1.7?


Your help is MUCH appreciated


Messages In This Thread
My application's email messages aren't being delivered - by El Forum - 11-15-2008, 08:40 AM
My application's email messages aren't being delivered - by El Forum - 11-15-2008, 09:55 AM
My application's email messages aren't being delivered - by El Forum - 11-15-2008, 10:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB