patd Posted March 25, 2006 Share Posted March 25, 2006 I use this header to send HTML E-Mail --[ $headers="Content-Type:text/html;CHARSET=iso-8859-1"; $headers.="From: Me<you@yourdomain.com>";]It's working well until I send some contet with " ' ". or have some external image.Like when I send --<H1>Happy Independence Day to you From Me</H1><BR>xasxa sx asx asxa <IMG src="http://www.xyz.com/Logo.gif" border=0> It Becomes --<H1>Happy Independence Day to you From Me</H1><BR>xasxa sx asx asxa <IMG src='\"http://www.xyz.com/Logo.gif\"' border=0> so the content looks bad and the external Image not showing. Quote Link to comment Share on other sites More sharing options...
shocker-z Posted March 25, 2006 Share Posted March 25, 2006 add the \" in the first place then when processed it will be fine e.g.[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]<H1>Happy Independence Day to you From Me</H1><BR>xasxa sx asx asxa <IMGsrc=\"http://www.xyz.com/Logo.gif\" border=0> [/quote]That should do the job Quote Link to comment Share on other sites More sharing options...
patd Posted April 6, 2006 Author Share Posted April 6, 2006 the problem has been solve by using stripslash(); function Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.