Jump to content

How to make this email code addeptable by servers


pioneerx01

Recommended Posts

Hi,

 

I am using the following PHP email code, and when I send it to my Gmail account it works fine, but some servers are blocking this email and are not being received. How can I tweak it to make it more compatible?

 

$headers = "From: $row_o_email[email] \r\n";
$headers .= "BCC: $row_o_email[email] \r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$to = $row_e['email'];

mail($to, "subject", "

email body

", $headers);

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.