Re: Mail and HTML Forms generation and validation

From: Date: Mon, 16 Feb 2004 21:24:00 +0000
Subject: Re: Mail and HTML Forms generation and validation
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10964@lists.php.net to get a copy of this message
Hello, On 02/16/2004 10:17 AM, Upfront Technology wrote:
I am currently developing an online form using "HTML Forms generation and validation". I am quite fond of this class, but need to know if anyone can either give an example or point me to example code that allows the form to e-mail the results to a desired recipient. I have read the documentation and noticed comments the suggest a point in the code where addition actions could be called, but no examples of mail were shown.
The examples of sending e-mail with Smarty are in another class for sending e-mail: http://www.phpclasses.org/mimemessage For sending form via e-mail, just use the forms class output as text string and feed to the e-mail class as in the example. Keep in mind that you should disable the generation of Javascript in e-mail messages or else your messages may get blocked by spam filters. Most e-mail programs have Javascript support disabled by default for security reasons. -- 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.smarty.general (#10964) next »