Dysan Posted March 17, 2008 Share Posted March 17, 2008 Hi, I can send text only emails, but how does one send HTML ones? Quote Link to comment Share on other sites More sharing options...
Jeremysr Posted March 17, 2008 Share Posted March 17, 2008 I think you send them the exact same way as you send text ones. (HTML code is plain text.) Quote Link to comment Share on other sites More sharing options...
Dysan Posted March 18, 2008 Author Share Posted March 18, 2008 How do I display some text within an email in bold? Quote Link to comment Share on other sites More sharing options...
corbin Posted March 18, 2008 Share Posted March 18, 2008 http://us2.php.net/manual/en/function.mail.php Example number 4. Quote Link to comment Share on other sites More sharing options...
eddierosenthal Posted March 18, 2008 Share Posted March 18, 2008 html is not just plain text. it takes a different 'mime' type to send it. that way it is recognizable as tagged text that needs to be interpreted by the mail client. make your life easier and look at the php mailer class that allows you to send BOTH text and HTML and images etc... see the site: http://phpmailer.codeworxtech.com/tutorial.html read installation and download and you will be happy camper! hth Quote Link to comment Share on other sites More sharing options...
Dysan Posted March 18, 2008 Author Share Posted March 18, 2008 That's Extremely Helpful Cheers Everyone. It's Working. One last question though: I am sending the emails to my Hotmail account, and they are getting block as being potentially dangerous. Why is this? How do I stop this? Quote Link to comment Share on other sites More sharing options...
eddierosenthal Posted March 18, 2008 Share Posted March 18, 2008 likely you have 1) not added the FROM method in a way the client can recognize it or 2) you have some spam filter enabled and need to add to the list of allowable senders? glad you found the thing working though. 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.