Jump to content

Phorm Jr.


Recommended Posts

Turtle (Don) recommended the Phorm Jr for form processing.


I have already got most of it working... The basic form is set up (will be made much larger once the form is working), the thank you page is working and loads in the customer's order responses, BUT the problem is that no email is generated!


I uploaded the four files to the same directory as the form:




contactlog.txt (permission is set to 777 even though I am not using it)


Even loaded a second copy of phormjr.php into the cgibin just in case.


This is my contact.phm file:


  $PHORM_ALERTTO = "xxx@lambertusa.com";

  $PHORM_TO      = "xxx@lambertusa.com";

  $PHORM_SUBJECT = "Order from lambertusa.com";

  $PHORM_TMPL    = "contact.txt";

  $PHORM_ACK     = "thanks.html";

  $PHORM_REQ     = "AccountID OrderedBy Business PHORM_FROM Shipto Payment";



This is my email format file contact.txt
AccountID: {{AccountID}}

Ordered By: {{OrderedBy}}

Business: {{Business}}

E-mail: {{PHORM_FROM}}

Ship to: {{Shipto}}

Change Ship to address: {{ChangeShipto}}

Comment: {{Comment}}

Payment type: {{Payment}}

visitor IP address: {{REMOTE_ADDR}}









Am looking for a form processing that can handle 40-70 fields, some required with email response to customer and us, thank you page with order acknowledgement. Would be nice if only the fields with responses showed on the email but if not, no big deal.


And don't know if this will effect anything: email is not run through the TCH server. Email for Lambertusa is handled with a separate server. When I use an outside email processing (globalscape server, cutandpaste, etc) it works...but this will not.


So why doesn't it send the email?


Thank you for any assistance!!!!!!!!!!!



Link to comment
Share on other sites

Got your pm. Already sent him an email. :(

Sent you a response.


The problem still exists and hoping for some nudge in the right direction.



Link to comment
Share on other sites

Took the files and uploaded them to my personal website also hosted on TCH.


Changed email address to my own and they work fine, so must be related to something about lambertusa.com not the script.


Try it here: http://www.samisite.com/kwikkerb/


Am going to open a help ticket. Maybe something at lambertusa.com needs to be tweaked to allow processing of forms, without interferring with incoming emails to lambertusa.com.



Link to comment
Share on other sites

I got the form you submitted from my personal site (samisite.com)

Form goes to the person that submits the form but not to the site:

$PHORM_TO = "xxx@xxx.com";

but xxx@xxx.com does not receive an email from this form.


The one on the lambert site does not send emails to any lambert address. It will send an email to the person that submits a form, but with errors as seen below:


This message was created automatically by mail delivery software.


A message that you sent could not be delivered to one or more of its

recipients. This is a permanent error. The following address(es) failed:



    SMTP error from remote mailer after RCPT TO:<xxx@lambertusa.com>:

    host vx1.fdn.com []: 554 <xxx@lambertusa.com>:

    Relay access denied


------ This is a copy of the message, including all the headers. ------


Return-path: <xxx@xxx.com>

Received: from nobody by server29.totalchoicehosting.com with local (Exim 4.34)

id 1BW2ds-0007Rl-7w

for xxx@lambertusa.com; Thu, 03 Jun 2004 19:33:04 -0500

To: xxx@lambertusa.com

Subject: Kwik Kerb Order form from lambertusa.com

From: xxx@xxx.com

X-Mailer: PHP3/

Message-Id: <E1BW2ds-0007Rl-7w@server29.totalchoicehosting.com>

Date: Thu, 03 Jun 2004 19:33:04 -0500



AccountID: samtest

Ordered By: sam

Business: samisite.com

E-mail: zzzzz@zzzzzzz.com

Ship to: Use local business address

Change Ship to address:


Payment type: Credit Card on file

visitor IP address: zzzzzzzzzzz




CHADO: Colorhard Adobe Buff 1 @ $22.80 = $22.80



Pain...royal pain!



Link to comment
Share on other sites

Yes. contactus @ lambertusa.com is the MAIN address for Lambert. Emails sent to that address work fine. A contact form on this page: http://www.lambertusa.com/id139.htm works fine. But the form is sent through Globalscape not the TCH email process.


I fixed the tlx_send...That did not interfer, but it shouldn't have been in the code. Thanks for the heads up.


$PHORM_TO = "xxx@xxx.com";

but xxx@xxx.com does not receive an email from this form.


$PHORM_TO = "xxx@lambertusa.com";

The one on the lambert site does not send emails to ANY lambert address. When I was using my direct email address at lambert in the form I didn't get a response form.



Link to comment
Share on other sites

Tried a different PHP form and it works to any address except lambertusa.com.


Definitely something glitched with that domain.



Link to comment
Share on other sites



The lambertusa.com email addresses were not forwarding properly from TCH servers but now they are!


:dance: Rock Sign



THe PHORMjr PHP script is quite pleasant to work with.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...