Samrc Posted June 3, 2004 Posted June 3, 2004 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: phormjr.php contact.phm contact.txt 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: <?php $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"; $PHORM_FROM = ph_DECLARE; ?> This is my email format file contact.txtAccountID: {{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}} COLORHARD ORDER: ----------------- {{CHADAYE}} {{CHADO}} {{CHATAN}} 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!!!!!!!!!!! -Samantha Quote
Samrc Posted June 3, 2004 Author Posted June 3, 2004 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. -Samantha Quote
Samrc Posted June 4, 2004 Author Posted June 4, 2004 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. -Samantha Quote
TCH-Don Posted June 4, 2004 Posted June 4, 2004 I have replied to you by e-mail with my results. I am guessing you have double checked all the config files. I received an e-mail back from the Lambert site, should I have received this? Quote
Samrc Posted June 4, 2004 Author Posted June 4, 2004 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: xxx@lambertusa.com SMTP error from remote mailer after RCPT TO:<xxx@lambertusa.com>: host vx1.fdn.com [216.199.46.12]: 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: Comment: Payment type: Credit Card on file visitor IP address: zzzzzzzzzzz COLORHARD ORDER: ----------------- CHADAYE: CHADO: Colorhard Adobe Buff 1 @ $22.80 = $22.80 CHATAN Pain...royal pain! -Samantha Quote
TCH-Don Posted June 4, 2004 Posted June 4, 2004 It does not like the contactus@ address does the addy work when you send to it with an e-mail client? Quote
Samrc Posted June 4, 2004 Author Posted June 4, 2004 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. -Samantha Quote
Samrc Posted June 4, 2004 Author Posted June 4, 2004 Tried a different PHP form and it works to any address except lambertusa.com. Definitely something glitched with that domain. -Samantha Quote
Samrc Posted June 5, 2004 Author Posted June 5, 2004 RESOLVED by TCH-RICK. The lambertusa.com email addresses were not forwarding properly from TCH servers but now they are! Rock Sign THe PHORMjr PHP script is quite pleasant to work with. -Samantha Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.