Re: Automatically generated emails

From: Date: Mon, 29 Aug 2005 20:17:01 +0000
Subject: Re: Automatically generated emails
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-221546@lists.php.net to get a copy of this message
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

« previous php.general (#221546) next »