php mail problems
Posted: Thu Apr 09, 2009 4:53 am
I've problems that my php mailing system allways ends up in my clients spam/junk box.. what are the tricks to avoid it? Underneath follows code.. settings; http://www.esge.org/php.php
Thanks!
Thanks!
Code: Select all
<?
$header .= "Reply-To: Some One <someone@mydomain.com>\r\n";
$header .= "Return-Path: Some One <someone@mydomain.com>\r\n";
$header .= "From: Some One <mydomain@myhost.com>\r\n";
$header .= "Organization: My Organization\r\n";
$header .= "Content-Type: text/plain\r\n";
mail("recipient@recipient-domain.com", "Test Message", "This is my message.", $header);
?>