Hi there,
I'm currently busy creating a newsletter tool for my webpage and I'd like to include FCKEditor for that.
Everything is working fine except for sending the Mail to my users as HTML code.
I get the mail as a plain text instead of HTML formatted text. Does anyone know how I could handle that?
I have implemented the Editor on my PHP webpage and want to send the text with the following function:
I get the $email out of my database. As well if I just show the submitted text from my formula it shows me just the plain text.
I subitt my formula as the following:
Any ideas how I could fix that problem? I also tried to send the mail as charset iso-8859-1, the same problem.
Thanks for any help!
Cheers,
Ise
I'm currently busy creating a newsletter tool for my webpage and I'd like to include FCKEditor for that.
Everything is working fine except for sending the Mail to my users as HTML code.
I get the mail as a plain text instead of HTML formatted text. Does anyone know how I could handle that?
I have implemented the Editor on my PHP webpage and want to send the text with the following function:
$headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/text; charset=utf-8\r\n"; $headers .= "From: JSM Newsletter <$eig_email>\r\n"; $text=stripslashes($text); foreach ($email as $temp) { mail ("$temp","$betreff","$text","$headers") or die ("Newsletter could not be sent"); };
I get the $email out of my database. As well if I just show the submitted text from my formula it shows me just the plain text.
I subitt my formula as the following:
<form action=\"$_SERVER[PHP_SELF]\" method=\"post\">
Any ideas how I could fix that problem? I also tried to send the mail as charset iso-8859-1, the same problem.
Thanks for any help!
Cheers,
Ise