[phorm] [Phorm:] Re: extra emails

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 27 Mar 2003 23:57:30 -0000

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

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

  MESSAGE:  (#2460) Re: extra emails 
            <http://www.phorm.com/support/?rev=2460> 
  AUTHOR:   will kuehn 
  DATE:     March 27, 2003 at 6:57 p.m. EST 

  Reply To: (#2452) Re: extra emails 
  Author:   will kuehn 
  Date:     March 26, 2003 at 11:30 p.m. EST 

Well..almost... 
this is my config: 
phormconfig: 
<?php 
# This is the global configuration file. It's read every time Phorm runs. 
# If the form calling Phorm has a local (form-specific) configuration file, 
# settings in it will override settings here. 

# This variable indicates that a local config file is NOT required. 
$PHORM_RCONFIG = "N"; 

$PHORM_ALERTTO = "cnw2002@xxxxxxxxx"; // Change to your email address 

$PHORM_TO = "cnw@xxxxxxxxxxxxxxx"; // Change to your email address 
$PHORM_SUBJECT = "Form Data"; // The subject of the email message 

$PHORM_TMPL = ph_GENERIC; // A generic email template 
$PHORM_ACK = ph_GENERIC; // A generic ack template 
?> 

<?php 
# Change to this directory after processing this config file. 
$PHORM_BASE = "x-widget"; 
infoconfig: 

# PHORM_FROM is coming from a form field, so it needs to be declared here. 
Only PHORM_ variables 
# being passed from a form field need to be declared this way. 
$PHORM_FROM = ph_DECLARE; 

$PHORM_VALDEFS = "rules_info.txt"; 

$PHORM_ACK = "ackinfo.html"; 

$PHORM_TO = "Blackwater Creek Ranch<bwcranch@xxxxxxxxxxx>"; 
$PHORM_SUBJECT = "Blackwater Creek Ranch Information Request"; 
$PHORM_TMPL[0] = "emailinfo.txt"; 
$PHORM_TMPL[1] = "emailinfo1.txt"; 

$PHORM_HEADERS = "header\n"; 
$PHORM_SUBJECT = "Blackwater Creek Ranch Information Request"; 

$PHORM_RESPOND = "responder1.txt"; 
$PHORM_RESFROM = "Blackwater Creek Ranch<bwcranch@xxxxxxxxxxx>"; 
$PHORM_RESUBJ = "Blackwater Creek Ranch Information Request"; 
$PHORM_RESRPLY = "bwcranch@xxxxxxxxxxx"; 

It will send the extra email, but on submit it goes to the generic ack.html 
and displays a parse error message for line 16 which is $PHORM_TMPL[1] = 
"emailinfo1.txt"; 

It sens the autresonder, and both copies ofthe form data, 
and thre is no alert message sent. 

any ideas? 

?>> Thank you very much! 
> You should include that bit as an example in the docs. 
> I very much appreciate the help! 

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

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: