[phorm] [Phorm:] No form results with HTML mail

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 15 Jul 2003 22:35:18 -0000

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

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

  MESSAGE:  (#2970) No form results with HTML mail 
            <http://www.phorm.com/support/?rev=2970> 
  AUTHOR:   Steve Hurlburt 
  DATE:     July 15, 2003 at 6:35 p.m. EST 

I may be missing something obvious here, but.. 

I have Phorm set up and working great with text email and text file logging. 
When I try to set up HTML email, I see the HTML effect (background color) in 
the resulting email, but not the form results (name-value pairs) I'm getting 
with text. Am I missing something? 

My config file: 

<?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. 
$PHORM_RCONFIG = "N"; 
$PHORM_ALERTTO = "me@xxxxxxxxxxxx"; 
$PHORM_TO = "me@xxxxxxxxxxxx"; 
$PHORM_FROM = "Orders Online"; 
$PHORM_SUBJECT = "Order Store # {{store}}"; 
$PHORM_TMPL = "email.html"; 
$PHORM_ACK = "thanks.html"; 
$PHORM_VALDEFS = "rules.txt"; 
$PHORM_PARSPHP = true; 
$PHORM_LOG = "logfile.txt"; 
$PHORM_LOGVAR = "store Now 10578 10408 12773 19331; 
$PHORM_LDELIM = ","; 
$Now = date("d/m/y H:i:s"); 

?> 

My registry file: 

<? 
# This is the registry file for Phorm plugins. Each entry consists of a 
before|after code, a stage 
# code and a file name, separated by spaces. There are 15 stages: 
# 
# setu1 - Setup 1. The function library has been loaded, and most variables 
defined. 
# gcnfg - Global configuration. The phormbase and phormconfig files have been 
processed, and the 
# variable-substitution regex set. 
# lcnfg - Local configuration. The form-specific configuration file has been 
processed; if $PHORM_BASE 
# was specified, the directory has been changed. $PHORM variables from the 
form have been 
# restored. 
# setu2 - Setup 2. The values for TMPL, ATTACH, MYTABLE and MYVARS have been 
assigned to their 
# respective $lPHORM variables. The database variables have been included. 
# filup - Perform file upload 
# dbopn - DB open. The database has been opened. 
# valid - Validation. Data validation has been done. 
# fopen - Files open. The ack template, autoresponder template and text log 
files have been opened. 
# dblog - DB logging. The database logging has been done. 
# respn - Autoresponder. The autoresponder has been sent. 
# txlog - Text logging. The text logging has been done. 
< email htmlmail.php 
# email - User email. The email has been sent to the user. 
# ackpg - Ack. The ack template has been output. 
# pproc - Postinc. The post-processing file has been processed. 
# aande - A&E. Alerts and Errors have been displayed and/or emailed. The only 
thing remaining is the 
# re-direct. 
?> 

registry.php and htmlmail.php are in the plugins directory and the rest of the 
files are in the phorm directory. 

My email.html file: 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 

<html> 
<head> 
</head> 

<body bgcolor="aaeeaa"> 
</body> 

</html> 

Thanks for any help you can offer. 

Steve 

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

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:

  • » [phorm] [Phorm:] No form results with HTML mail