Hi,

This is a repost, I posted it saturday and not many people were on list so
I'll try once more.  I'm setting up a freeware script called "Phorm", it was
previously called "PHPMail".  I got it from http://www.phorm.com/  Anyone
here have experience with this script?

For some reason I'm getting errors when trying to send a test e-mail, and
I've followed the setup instructions for phorm to the letter

I did run the test.php script when I installed and tested PHP on my server -
it's fine, and I also installed MySQL and have phpbb (Forum) running fine
now with MySQL, so I think php is set up correctly.

I have pasted the code for my html form and the php config script below,
these are the only two files that phorm readme tells me I need to setup for
phorm to work correctly - I inserted my variables.  Can anyone think of what
I might be doing wrong or am missing?

I've had several different errors in the past, but the latest batch are -

" 090 - There has been an error, and your information has not been ent.
Alerts:
105 - Mail function failed on user email for template /lib/generic.txt.
111 - Mail function failed on sending alerts."

Thanks.


HTML form...

<HTML>
<HEAD>
<TITLE>Phorm Test: No Configuration File</TITLE>
</HEAD>

<BODY BGCOLOR=WHITE TEXT=MAROON>
<FORM METHOD=POST ACTION="phorm.php">

<B>Name:</B> <INPUT TYPE=TEXT NAME="Name"> &nbsp;&nbsp;
<B>Email:</B> <INPUT TYPE=TEXT NAME="PHORM_FROM">
<BR><BR>

<B>Comment:</B>
<TEXTAREA NAME="Comment" COLS=50 ROWS=3></TEXTAREA>
<BR><BR>

<INPUT TYPE=SUBMIT VALUE="   Submit   ">
</FORM>

</BODY>
</HTML>

phormconfig.php ...

<?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 = "[EMAIL PROTECTED]"; // Change to your email address

  $PHORM_TO      = "[EMAIL PROTECTED]"; // 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 General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to