[phorm] [Phorm:] Re: How do I disable $PHORM_TMPL

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 17 Jul 2003 03:36:04 -0000

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

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

  MESSAGE:  (#2987) Re: How do I disable $PHORM_TMPL 
            <http://www.phorm.com/support/?rev=2987> 
  AUTHOR:   Kally 
  DATE:     July 16, 2003 at 11:36 p.m. EST 

  Reply To: (#2985) Re: How do I disable $PHORM_TMPL 
  Author:   Patrick O'Hara 
  Date:     July 16, 2003 at 7:43 p.m. EST 

I guess I didn't explain it well enough. The autoresponder that goes to my 
customer is working fine. I don't want an email sent to me. But, evidently, it 
tries to send one anyway since I am getting that error message. 

Since I am writing to a database I figured I do not need to send an email to 
myself. But, I get an error message saying: 
101 - Unable to open mail template file ./x-mydirectory/lib/generic.txt 
Why is it trying to open that file? 

In the alert email there is a line that says: 
PHORM_TMPL: lib/generic.txt 
But I do not have that set in any of the config files. 

It is opening the autoresponder file and sending to the customer no problem. 
So again, everything is working fine, but, how do I get it to stop sending me 
an alert? 

It is a multipart form so I am getting several alert emails for each 
submission - each time it tries to send an (unwanted) email to me. 

Here is an example of one of the config files: 
<?php 

$PHORM_PARSPHP = true; // Use php in forms response 
$PHORM_VALDEFS = "rules.txt"; 
$PHORM_MYDBV = "setdbv.php3"; 
$PHORM_MYTABLE[1] = "customers"; 
$PHORM_MYVARS[1] = "First=FirstName, Last=LastName, Email=Email, (etc., 
etc.)"; 
$PHORM_MYTABLE[2] = "general"; 
$PHORM_MYVARS[2] = "cust_ID=PHORM_MYSQLID[0], g_1=Q1, g_2=Q2, g_3=Q3, g_4=Q4, 
(etc., etc.)"; 

$PHORM_ACK = "thankyou.php"; 
$PHORM_URL = "../myform.php"; 
$PHORM_TO = "orders@xxxxxxxxxxxx"; 

$PHORM_FROM = $Email; 
$PHORM_RESPOND = "email.txt"; 
$PHORM_RESFROM = "Orders@xxxxxxxxxxxx>"; 
$PHORM_RESUBJ = "Your order at MyDomain.com"; 
$PHORM_RESRPLY = "Orders@xxxxxxxxxxxx"; 

$PHORM_ALERTTO = "test@xxxxxxxxxxxx"; 

?> 

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

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: