0
I created a project using php, but when mails are sent, are received in spam messages. Please someone help
Mails
6 odpowiedzi
0
I searched,maybe it's useful for you :
You must to add a needle headers:
Sample code :
$headers = "From: myplace@example.com\r\n";
$headers .= "Reply-To: myplace2@example.com\r\n";
$headers .= "Return-Path: myplace@example.com\r\n";
$headers .= "CC: sombodyelse@example.com\r\n";
$headers .= "BCC: hidden@example.com\r\n";
if ( mail($to,$subject,$message,$headers) ) {
echo "The email has been sent!";
} else {
echo "The email has failed!";
}
?>
0
ts ok, le me try this...Victory
0
it dn't work
0
Nickson Kalama I don't know more..
0
k thanks
0
you're welcome