[phorm] [Phorm:] Re: Autoresponder

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 22 Apr 2003 23:19:36 -0000

The following new message has been posted on Phorm Support Forum at 
<http://www.phorm.com/support/>. 

*************************************************************************** 

  MESSAGE:  (#2572) Re: Autoresponder 
            <http://www.phorm.com/support/?rev=2572> 
  AUTHOR:   Patrick O'Hara 
  DATE:     April 22, 2003 at 7:19 p.m. EST 

  Reply To: (#2571) Autoresponder 
  Author:   Perry Lewis 
  Date:     April 22, 2003 at 6:21 p.m. EST 

Hi there, 

Firstly, you should never have to even open phorm.php and you certainly 
shouldn't be thinking of changing it unless you REALLY know what you are 
doing! 

Secondly, Phorm is a very powerful program, and you can't expect to just 
understand what is going on by skim reading a readme file. You need to read 
the documentation carefully. This forum is not a substitute for reading the 
documentation. If you put in the effort you'll find that you'll understand 
Phorm better. 

Okay, create a plain text file, and have it stored in the same directory as 
the config file (form specific or global). It should contain the body of the 
message for the e-mail. In this message, you can include information from the 
form by using variable substitutions, as described in the documentation. 

E.g. 
-- BEGIN: respond.txt -- 
Dear {{Name}}, 

Thank you for filling out the form. The {{product}} you requested, {{title}}, 
will be sent to you at the following address: 
{{address}} 

Regards, 
Foo 
Bar Ltd. 
-- END: respond.txt -- 

Now in your config file: 

$PHORM_RESPOND = "respond.txt"; 
$PHORM_RESFROM = "sales@xxxxxxx"; 
$PHORM_RESUBJ = "Order Confirmation"; 

The responder will be sent to the e-mail address in PHORM_FROM, so you need to 
have the e-mail field on your form: 
<input name="PHORM_FROM" ... > 

you also need to declare any PHORM_ variables in your config file, so add the 
line: 

$PHORM_FROM = ph_DECLARE; 

to your config file. 

Regards, 

Patrick O'Hara 
WhitsundayIT 
QLD, Australia 

patrick@xxxxxxxxxxxxxxxx 
www.whitsundayit.com 

*************************************************************************** 

This is an automatically-generated notice.  If you'd like to be removed from 
the mailing list, please visit Phorm Support Forum at 
<http://www.phorm.com/support/>, or send your request to webbbs@xxxxxxxxxx  If 
you wish to respond to this message, please post your response directly to the 
board.  Thank you! 
-------------------------------------------------
You are receiving this message because you are subscribed to the Phorm mailing 
list. To send messages to the mailing list, simply send email to 
phorm@xxxxxxxxxxxxx from the address you have subscribed. You may unsubscribe 
from the list by sending email to phorm-request@xxxxxxxxxxxxx with 
'unsubscribe' in the SUBJECT field.

Other related posts: