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<[email protected]>";]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. Link to comment https://forums.phpfreaks.com/topic/5761-external-image-not-shwing-in-php-html-e-maill/ 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 Link to comment https://forums.phpfreaks.com/topic/5761-external-image-not-shwing-in-php-html-e-maill/#findComment-20522 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 Link to comment https://forums.phpfreaks.com/topic/5761-external-image-not-shwing-in-php-html-e-maill/#findComment-24436 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.