[phorm] [Phorm:] Re: Sending to other e-mail addresses

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 7 Mar 2004 23:46:48 -0000

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

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

  MESSAGE:  (#3822) Re: Sending to other e-mail addresses 
            <http://www.phorm.com/support/?rev=3822> 
  AUTHOR:   Ian Young 
  DATE:     March 7, 2004 at 6:46 p.m. EST 

  Reply To: (#3817) Re: Sending to other e-mail addresses 
  Author:   Holotech 
  Date:     March 5, 2004 at 7:54 a.m. EST 

> OK, let's back up a bit here. Variables beginning with 
> $PHORM_ are Phorm configuration variables. From the 
> docs: 

> "What this means to you is that you should avoid 
> having any field name starting with PHORM_ unless it's 
> actually one of Phorm's configuration variables that 
> you're using...." 

> Do not name your own fields/variables PHORM_anything. 

> ph_DECLARE is a constant with the value {{FORM}}. As a 
> security measure, Phorm initially unsets any $PHORM_ 
> variables passed to it from the form. {{FORM}} is 
> nothing more than an internal indicator to Phorm, that 
> it's OK to restore those values. This restoration is 
> done after the config file is processed. 
> Declaration is only for Phorm's reserved 
> $PHORM_ configuration variables, and only if 
> they're passed from the form. 

> So, what you should have is something like this: 

> <INPUT TYPE=TEXT NAME="contactemail"> 

> $PHORM_TO = $contactemail; 

> No ph_DECLARE or anything. If that still doesn't work, 
> let me know. 

Duhh! Easy when you follow the instructions. Thanks. That's going to be really 
cool. 

However, !!! I still cannot get it to send a document. Same config as sent 
before. First step, how to send attachment without it going in database. (or 
is that not possible). 

Ian 

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

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: