Hi,
To send email confirmation (after registration or to administrator after
Contact us form is submitted) I use the "standard" way:

function send_confirmation($to, $subject, $message)
{
    $header  = "Content-type: text/plain; charset=iso-8859-1\n";
    $header .= "From: Vernon Company <[EMAIL PROTECTED]>\n";
    $header .= "Reply-To: Order Processing Dept.
<[EMAIL PROTECTED]>\n";
    mail($to, $subject, $message, $header);
}

send_confirmation($SalesEmail, $Subject, $Message);

It works fine, though, few times email was blocked and finished in
Junk/Bulk/Spam folder.

Now, I have to start sending emails as html. Not big deal.
But, it's so easy to get blacklisted if you make a mistake and I wanted to
grab and use good email class to do this. OUr web server is php5 based.

Was looking on phpclasses.net for the class but there are tons of them.
Can somebody recomend any class? Something simple.

Thanks for any help.

-afan

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to