Posted by Manuel Lemos on 08/29/05 23:17
Hello,
on 08/29/2005 02:53 PM Ravi Gogna said the following:
> This is probably a really simple question, but I can't work out what to
> write! I've written a fairly standard HTML form and I would like an
> email to be generated as soon as the user clicks 'Submit'. Can you help?!
If you want to send HTML mail messages, you need to compose and send a
multipart/alternative message that contains both an HTML part and an
alternative plain text part.
If this sounds too complicated for you, you may want to try this class
that can compose do it without making you learn all RFCs to send
properly formatted messages. Take a look at the
test_simple_html_mail_message.php example script.
http://www.phpclasses.org/mimemessage
--
Regards,
Manuel Lemos
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/
Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html
[Back to original message]
|