Hi
Try using HTML Mime Mail. It's some PHP class that do it all for you. You feed it the html and a text version, and then complies the mime for you.
http://www.phpguru.org/static/mime.mail.html
I have used for lots of projects, works well!
okay, im okay with php. get the whole php mail function and have a list of email addresses.
I think i have to add some MIME (?) types or something in the headers. and then do I just paste html into the email message?
So its like a html page source pasted into where the email is?
Dan Morley
alpharooms.com
daniel at alpharooms dot com - Hotels, Flights, Airport Transfers, Care Hire + More! sign up
My Blog | Cheap Holidays
Hi
Try using HTML Mime Mail. It's some PHP class that do it all for you. You feed it the html and a text version, and then complies the mime for you.
http://www.phpguru.org/static/mime.mail.html
I have used for lots of projects, works well!
I learnt from this tutorial
http://www.phpnoise.com/tutorials/12/1
thanks 999gi, was just looking for the content type header thing.
so html emails dont have a head? ie <html><body></body><html>
?
ta cooperson, looks good but I prefer to write stuff myself. not sure why, just prefer to know everything thats goin off
Dan Morley
alpharooms.com
daniel at alpharooms dot com - Hotels, Flights, Airport Transfers, Care Hire + More! sign up
My Blog | Cheap Holidays
Take a look here Dan -
http://us2.php.net/manual/en/function.mail.php
Example 4 should give you everything you need.
Those who can do, those who can't talk about it
morleymouse,
MIME is pretty hardcore stuff mind you...
The tutorial above uses the MIME class that comes with PAIR, same class in theory.
But, if you do want to write your own MIME classhere is the MIME RFC (2045), http://www.faqs.org/rfcs/rfc2045.html happy reading
![]()
i only want to send pretty emails![]()
Dan Morley
alpharooms.com
daniel at alpharooms dot com - Hotels, Flights, Airport Transfers, Care Hire + More! sign up
My Blog | Cheap Holidays
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks