View Full Version : HTML email not sending at all
manon1165@yahoo.com
26-Jul-2006, 08:02 PM
Hi, I'm a designer, therefore programming is not my main thing. But I can read directions, and think I've filled out all relevant info to send an HTML email to my email. Can you go to http://takeout.laboquerianyack.com/fm_takeout.php to let me know what I'm doing wrong. Much thanks!
manon1165@yahoo.com
26-Jul-2006, 08:08 PM
Sorry you can't go to the URL. Well I filled out
$TEMPLATEURL = "http://takeout.laboquerianyack.com/fmtemplates/"
$TEMPLATEDIR = "/hsphere/local/home/laboquer/takeout.laboquerianyack.com/fmtemplates/"
in the php file.
<input name="required" type="hidden" id="required" value="realname,phone,email" />
<input name="mail_options" type="hidden" id="mail_options" value="HTMLTemplate=takeout_submitted.html,NoPlain,TemplateMissing=—" />
in the template file.
<form action="http://takeout.laboquerianyack.com/fm_takeout.php" method="post" name="takeoutorder" target="_self" id="takeoutorder">
<input name="recipients" type="hidden" id="recipients" value="takeout@laboquerianyack.com" />
<input name="alert_to" type="hidden" id="alert_to" value="takeout@laboquerianyack.com" />
<input name="required" type="hidden" id="required" value="email:Your email address,realname:Your name,phone:Your phone" />
<input name="good_url" type="hidden" id="good_url" value="http://takeout.laboquerianyack.com/takeout_confirm.html" />
<input name="bad_url" type="hidden" id="bad_url" value="http://takeout.laboquerianyack.com/takeout_error.html" />
<input name="this_form" type="hidden" id="this_form" value="http://takeout.laboquerianyack.com/takeout_form.html" />
<input name="subject" type="hidden" id="subject" value="La Boqueria Takeout" />
in the form itself.
And I put the template in the fmtemplates directory.
So what am I doing wrong?
crabtree
26-Jul-2006, 09:39 PM
TEMPLATEURL is ignored if you set TEMPLATEDIR
its generally best to use TEMPLATEDIR, for speed reasons.
get the sampleform working first. then add an HTML template to it. then you can try getting your own complex forms working.
what error are you receiving? what alert did formmail send you? its hard to guess whats wrong if you dont tell us.
manon1165@yahoo.com
29-Jul-2006, 03:58 PM
i didn't get any errors. my email is just not showing up in my inbox.
i'll take your suggestion though, and hope it works.
much thx!
david_de
29-Jul-2006, 05:07 PM
Is it only a problem with the html email or any email from the form?
If you are recieving no email at all then maybe you should check if your server is sending email. Set the alert email address in formmail.php then upload and run http://yourhost.com/formmail.php?testalert=1
If the path is to where you have formmail.php it should give you a message the email has been sent. Then check your email.
david_de
29-Jul-2006, 11:05 PM
I was helping a friend set up Formmail and he had this same problem. It would not do anything just a blank screen. It turns out he had a parse error in the code. At line 8081 he had extra apostrophes in front of the comment.
'''''''// <A NAME="PatternInfo">
On further investigation it was discovered that he used DW to edit the code. It seems when uploading the file via DW to the server using Put and Get it added an apostrophe to that line each time. He removed them and uploaded again with DW and they appeared again.
If anyone is having this problem and using DW they may want to run a comparison program like WinDiff to see if anything unplanned was added. Compare your problem copy with a new one and see if there are changes you did not make.
Powered by vBulletin® Version 4.1.4 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.