Jump to content

Sending html with mail() ??


siddscool19

Recommended Posts

I am using the following codings :

  $email = $_REQUEST['email'] ; 
  $subject = $_REQUEST['subject'] ;
  $message = $_REQUEST['message'] ;
  $from=$_REQUEST['from'] ;
  
mail($email,$subject,$message,"From: $from\nContent-Type: text/html; charset=iso-8859-1");

 

These are working but it is having problems with quotes like it sends quote in this format " due to which my html doesn't work so how to prevent it from converting?

Link to comment
https://forums.phpfreaks.com/topic/132230-sending-html-with-mail/
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.