Not sure what kind of problem this could be...
I am using a simple php script to send mail. It sends mail fine to most email accounts. But several of my clients (On an Exchange Server) will not recieve the emails.
Any ideas?
Using PHP to send forms
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
I'd bet you are missing certain header entries that would allow the servers to deliver the information. What you can do is find several different emails (conversations really, with various mail clients) that do get through, compare the headers from each email to get a list of ones to examine. Try each one, and combinations of them until you figure out what headers are needed.
Bulk Mail? What do you mean?
I am sending all normal headers I should be..
$headers = "MIME-Version: 1.0\r\n";
$headers .= "From: ".$email."\n";
$headers .= "To: ".$recipient."\n";
$headers .= "Reply-To: ".$email."\n";
if ($bcc) $headers .= "Bcc: ".$bcc."\n";
$headers .= "X-Priority: 1\n";
$headers .= "X-Mailer: DT Formmail".VERSION."\n";
$headers .= "Content-Type: multipart/mixed;\n\tboundary=\"".$ob."\"\n";
I am sending all normal headers I should be..
$headers = "MIME-Version: 1.0\r\n";
$headers .= "From: ".$email."\n";
$headers .= "To: ".$recipient."\n";
$headers .= "Reply-To: ".$email."\n";
if ($bcc) $headers .= "Bcc: ".$bcc."\n";
$headers .= "X-Priority: 1\n";
$headers .= "X-Mailer: DT Formmail".VERSION."\n";
$headers .= "Content-Type: multipart/mixed;\n\tboundary=\"".$ob."\"\n";