Jump to content

Email Problem


phpretard

Recommended Posts

All the variable print so I don't know what the problem is.

 

Do you see any issues?

 


// message
$message = '<html><body>
<p>Greetings '.$appraiser['FirstName'].' '.$appraiser['LastName'].',</p>

</body></html>';

// 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: '.$appraiser['Company'].' <'.$appraiser['Email'].'>\r\n';
$headers .= 'From: '.$broker['Company'].' <'.$FromEmail.'>\r\n';

// Mail it
$send=mail($appraiser['Email'], "New Appraisal Order", $message, $headers);	

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/160668-email-problem/
Share on other sites

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.