Hi,
I had my website re-designed recently. The folks who did it did not do a great job. I have some knowledge of html code, but I am not an expert. Here is my problem.
On my website I have a newsletter function. I can create a newsletter using the admin section of my site. The newsletter is created using the FCKEditor, the editor works great. The only problem I am having is that when I send out the newsletter, the source code is displayed along with the contents. I want to display the contents without the source code. Here is an example of what I mean:
The editor sends a newsletter to the subscriber that looks like this:
<P><Font="arial" color="fff000" size="3">Thank you for subscribing to my newletter.</P>
<br>
etc.
It should like this:
Thank you for subscribing to my newsletter.
How do I fix this? I can get into the source code. The newsletter function is a php page. All I need to know is what I need to change in the code to eliminate the html source from being displayed in conjunction with the message in the newsletter.
Thank you for your time.
I had my website re-designed recently. The folks who did it did not do a great job. I have some knowledge of html code, but I am not an expert. Here is my problem.
On my website I have a newsletter function. I can create a newsletter using the admin section of my site. The newsletter is created using the FCKEditor, the editor works great. The only problem I am having is that when I send out the newsletter, the source code is displayed along with the contents. I want to display the contents without the source code. Here is an example of what I mean:
The editor sends a newsletter to the subscriber that looks like this:
<P><Font="arial" color="fff000" size="3">Thank you for subscribing to my newletter.</P>
<br>
etc.
It should like this:
Thank you for subscribing to my newsletter.
How do I fix this? I can get into the source code. The newsletter function is a php page. All I need to know is what I need to change in the code to eliminate the html source from being displayed in conjunction with the message in the newsletter.
Thank you for your time.

RE: Editor
RE: Editor
<html> <body topmargin="0" bottommargin="0"> <table width="774" border="0" align="center" cellpadding="0" cellspacing="0" style="border:1px solid #000066;"> <tr> <td width="772" ><img src="../images/logo.jpg" height="83"></td> </tr> <tr> <td height="30" align="right" style="background-image:url(../images/admin_head.JPG); padding-right:10px;"><a class="left_links" href="manage_banner.php">Manage Banner</a> | <a class="left_links" href="manage_newsleter.php">Newsletter</a> | <a class="left_links" href="feature.php">Manage Featured Products </a> | <a class="left_links" href="logout.php">Logout</a> </td> </tr> <tr> <tr> <td height="440" valign="top" align="left" bgcolor="#EAEAEA"> <style> .paging_red { text-decoration:none; text-align:right; font-size:20px; font-weight:bold; color:#FF0000; } .paging_red.hover { text-decoration:none; text-align:right; font-size:20px; font-weight:bold; color:#FF0000; } .paging_gen { text-decoration:none; text-align:right; font-size:12px; font-weight:bold; color:#330066; } .paging_gen.hover { text-decoration:none; text-align:right; font-size:12px; font-weight:bold; color:#330066; } </style> <link href="css/style.css" rel="stylesheet" type="text/css"> <br/> <form name="form1" method="post" action="manage_newsleter.php"> <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td align="center" class="text_black_head">Manage Newsletter. </td> </tr> <tr> <td align="center"> <hr color="#003366" /></td> </tr> <tr height="4"> <td align="center" > </td> </tr> </table> <table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" > <tr > <td colspan="5" align="center" class="black_normal" > </td> </tr> <tr > <td align="center"> </td> <td align="center"> </td> <td align="center"> </td> <td colspan="2" align="right" class="left_links"><a href="add_news.php" class="left_links">Add Newsletter</a> </td> </tr> <tr class="table_heading" style="background-image:url(../images/admin_head.JPG);"> <td width="17" align="center">#</td> <td width="145" align="center">Title</td> <td width="135" align="center">Date of Posting </td> <td width="222" align="center">Action</td> <td width="20" align="center"><input name="checkbox2" type="checkbox" class="main_heading" onchange="status_check(document.form1.checkbox2,document.form1.chkBox)" value="checkbox"/></td> </tr> <tr bgcolor="#FFFFFF"> <td align="center" class="black_normal">1</td> <td align="center" class="black_normal">BMC Welcome</td> <td align="center" class="black_normal">05 Jul, 2007</td> <td align="center"> <a href="active_news.php?id=8&active=0" class="left_links">Deactivate</a> | <a class="left_links" href="edit_news.php?id=8">Edit</a> | <a class="left_links" href="delete_news.php?id=8" onclick="return delete_confirmation()">Delete</a> | <a href="send_news.php?id=8" class="left_links">Send</a> </td> <td valign="top"><input name="chkBox[]" type="checkbox" class="adminRow1" id="chkBox" value="8" /></td> </tr> <tr bgcolor="#F5F5F5"> <td align="center" class="black_normal">2</td> <td align="center" class="black_normal">July Newsletter</td> <td align="center" class="black_normal">05 Jul, 2007</td> <td align="center"> <a href="active_news.php?id=9&active=0" class="left_links">Deactivate</a> | <a class="left_links" href="edit_news.php?id=9">Edit</a> | <a class="left_links" href="delete_news.php?id=9" onclick="return delete_confirmation()">Delete</a> | <a href="send_news.php?id=9" class="left_links">Send</a> </td> <td valign="top"><input name="chkBox[]" type="checkbox" class="adminRow1" id="chkBox" value="9" /></td> </tr> <tr> <td align="center" class="black_normal"> </td> <td align="center" class="black_normal"> </td> <td align="center" class="black_normal"> </td> <td colspan="2" align="right"><input name="Submit" type="submit" class="click" value="Delete" onclick="return ask_ques()" /></td> </tr> <tr> <td align="center" class="black_normal"> </td> <td colspan="4" align="right" class="black_normal"></td> </tr> </table> </form> <p> </p> <script language="javascript" type="text/javascript"> function delete_confirmation() { var t=confirm("Are you sure you want to delete"); if (t) { return true; } else { return false; } } function ask_ques() { var t=confirm("Are you sure you want to delete"); if (t) { return true; } else { return false; } } </script> <script language="javascript" type="text/javascript"> function status_check(field1,field) { if(field1.checked == true) { checkAll(field); } else { uncheckAll(field); } } function checkAll(field) { for (i = 0; i < field.length; i++) field[i].checked = true ; } function uncheckAll(field) { for (i = 0; i < field.length; i++) field[i].checked = false ; } </script> </td> </tr> <tr> <td colspan="2" align="center" class="blue_text" style="background-color:#666666;color:#FFFFFF;font-size:12px;text-align:center" height="10">Copyright © bluemarlinchronicles.com All rights Reserved. Powered by <a href="<a href="http://www.ameriteckwebservices.com" target="_blank">http://www.ameriteckwebservices.com</a>" target="_blank" class="left_links">AWS</a></td> </tr> </table> </body> </html>RE: Editor
this problem occurs when the Content-type has not been sent with the email.
in PHP, an email is sent something like this:
mail('kae@verens.com','subject','<strong>bold text</strong>','Content-type: text/html');
I think you're missing the bit at the end.