Click to See Complete Forum and Search --> : htm plain & plain text e-mails


lomokev
10-13-2004, 07:46 AM
sorry did no where else to post this:

how do you send a html mail that has a plan text alternative so that if the receiver can't see html e-mails then they will se the plain text alternative is that possible?

+ is there application that lets you do this? MAC or PC any suggestions? because when i have sent html mails in the past i have done it with a php script

soccer362001
10-13-2004, 09:51 AM
Not that I am aware of, the only way is to find out what kinds of emails your recipient(s) can receive, and then go on from there.

CyCo
10-13-2004, 10:12 AM
Yes, you can do this using a server-side language. (Perl, PHP, etc.)
You would need to set the Content-Type of the email to multipart/alternative, then the MIME email client should choose the best message part to display. This will provide both a plain text version and an HTML version of the same content. Only one or the other should be displayed, but not both, depending on the viewers' email client settings.

Fang
10-13-2004, 10:13 AM
http://www.webdeveloper.com/forum/showthread.php?s=&threadid=45728&highlight=email
In PHP: http://www.zend.com/zend/spotlight/sendmimeemailpart1.php