bcamp1973 Posted April 3, 2007 Share Posted April 3, 2007 i've put close to 10 hours into this today and i'm not getting results. i simply want to create and send emails that can be viewed by both text based and html based email clients. i've scoured the PHP manual and related comments and nothing is working. I also don't want to use a big bloated open source library as my needs are simple...text...html...that's it. can someone point me to code that's working for them (across all popular email clients) or to a tutorial that actually works? My frustration is starting to get the best of me i think Link to comment https://forums.phpfreaks.com/topic/45371-sending-text-and-html-in-one-email/ Share on other sites More sharing options...
mmarif4u Posted April 3, 2007 Share Posted April 3, 2007 Try ur luck on this one... <?php mail('[email protected]', 'Subject', '<html><body><p>Your <i>message</i> here.</p></body></html>', "To: The Receiver <[email protected]>\n" . "From: The Sender <[email protected]>\n" . "MIME-Version: 1.0\n" . "Content-type: text/html; charset=iso-8859-1"); ?> Link to comment https://forums.phpfreaks.com/topic/45371-sending-text-and-html-in-one-email/#findComment-220306 Share on other sites More sharing options...
bcamp1973 Posted April 3, 2007 Author Share Posted April 3, 2007 I've been able to get a simple example like that to work. however, sending a multipart email with both text and email has proven to be a letdown... Link to comment https://forums.phpfreaks.com/topic/45371-sending-text-and-html-in-one-email/#findComment-220595 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.