0

I created a project using php, but when mails are sent, are received in spam messages. Please someone help

Mails

6th Aug 2018, 9:52 AM
Nickson Kalama
Nickson Kalama - avatar
6 Respuestas
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!"; } ?>
6th Aug 2018, 10:19 AM
Victory
Victory - avatar
0
ts ok, le me try this...Victory
10th Aug 2018, 1:19 PM
Nickson Kalama
Nickson Kalama - avatar
0
it dn't work
11th Aug 2018, 6:56 PM
Nickson Kalama
Nickson Kalama - avatar
0
Nickson Kalama I don't know more..
11th Aug 2018, 8:06 PM
Victory
Victory - avatar
0
k thanks
12th Aug 2018, 4:30 AM
Nickson Kalama
Nickson Kalama - avatar
0
you're welcome
12th Aug 2018, 7:13 AM
Victory
Victory - avatar