Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
PHP mail script problem
Old 01-31-2004, 06:36 PM PHP mail script problem
Novice Talker

Posts: 6
Location: Norway
Trades: 0
I've made a PHP booking system for a cabin that's beeing rented out, and I use HTML mails for confirmation and stuff. but;
on some mail adresses the mail is not processed as an HTML mail, the headers and all is shown as plain text.. -argh-
I know that it has nothing to do with the e-mail client, cause I sent it to two different adresses that I myself uses, and on one of them, it worked just as it should, and on the other one I got a plain text e-mail with loads of html clutterd around, and with the MIME headers on top.
Are there anyone out here with the knowledge to help me?

-Olegu
olegu is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-31-2004, 07:08 PM
ACJavascript's Avatar
Humble Mod

Posts: 548
Location: CT, USA
Trades: 0
Are you telling the PHP script manualy to send out the emails in HTML format?

Some emails can not recieve html emails. Thats why when you signup for a newsletter then have either html or text.


If you are telling the script, then I suggest doing the above, and offering the user one of the two.
__________________

Please login or register to view this content. Registration is FREE
- 100 Satisfied Customers - Custom Programming and Web Development
ACJavascript is offline
Reply With Quote
View Public Profile Visit ACJavascript's homepage!
 
Old 03-01-2004, 08:49 PM not to say RTFM, but RTFM
milomedia's Avatar
Super Talker

Posts: 133
Location: durango, colorado
Trades: 0
The PHP manual has extensive examples of the proper use of mail() like here: http://us2.php.net/manual/en/function.mail.php

So anyway, you just need to include the content type header so the mail programs know that it is a text/html or multipart message. cheers.
__________________
_______________________________
Feeling down? listen to
Please login or register to view this content. Registration is FREE
milomedia is offline
Reply With Quote
View Public Profile Visit milomedia's homepage!
 
Reply     « Reply to PHP mail script problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11327 seconds with 12 queries