Tech Support Guy banner
Status
Not open for further replies.
1 - 4 of 4 Posts

·
Registered
Joined
·
2 Posts
Discussion Starter · #3 ·
$to='[email protected]';
$to.='[email protected]';
$message='testmail';
$subject='test subject';
// To send HTML mail, the Content-type header must be set
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";

// Additional headers
$headers .= 'To:ganesh<[email protected]>' . "\r\n";
$headers .= 'From: bharani<[email protected]>' . "\r\n";

// Mail it
mail($to, $subject, $message, $headers);

am getting mail in gmail, but am not getting mail in yahoo..any guess
 
1 - 4 of 4 Posts
Status
Not open for further replies.
Top