ali_kiyani Posted March 22, 2007 Share Posted March 22, 2007 Hello Can we send HTML emails using PHP's default mail method? Thanks Link to comment https://forums.phpfreaks.com/topic/43870-solved-sending-html-email-using-php-default-method/ Share on other sites More sharing options...
Kerblam Posted March 22, 2007 Share Posted March 22, 2007 Yes, just use this code before you execute the mail(). $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; Link to comment https://forums.phpfreaks.com/topic/43870-solved-sending-html-email-using-php-default-method/#findComment-212971 Share on other sites More sharing options...
ali_kiyani Posted March 23, 2007 Author Share Posted March 23, 2007 Great thanks! Link to comment https://forums.phpfreaks.com/topic/43870-solved-sending-html-email-using-php-default-method/#findComment-213309 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.