RE: [SMARTY] Re: Mail and HTML Forms generation and validation
| From: | UpFront Technology | Date: | Mon, 16 Feb 2004 21:50:59 +0000 |
| Subject: | RE: [SMARTY] Re: Mail and HTML Forms generation and validation | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10965@lists.php.net to get a copy of this message | ||
Thanks,
and thanks for your continued support to this forum and to Smarty.
Joe E.
UpFront Technology
-----Original Message-----
From: Manuel Lemos [mailto:mlemos@acm.org]
Sent: Monday, February 16, 2004 4:24 PM
To: smarty-general@lists.php.net
Subject: [SMARTY] Re: Mail and HTML Forms generation and validation
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
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php