Thanks for sending your files.
There are two problems in your configured FormMail:- Your DEF_ALERT value is not a valid email address - this means you won't receive error messages to help you resolve problems. Put your email address in there to help you debug your forms and FormMail.
- You provided a URL in your $TEMPLATEDIR setting instead of a directory. You have:
PHP Code:
$TEMPLATEDIR = "http://www.sequoiasprings.com/fmtemplates/email_reply.htm";
and what you want is something like this:
PHP Code:
$TEMPLATEDIR = "path-to-document-root/fmtemplates";
You can use the following if you're not sure of the correct path:
PHP Code:
$TEMPLATEDIR = "$REAL_DOCUMENT_ROOT/fmtemplates";
Note that it should not have the name of the template itself - just the path to the directory. The template name is specified in the form.
In your form you have one problem. You have "mail_options" specified multiple times.
Code:
<input type="hidden" name="mail_options" value="HTMLTemplate=email_reply.htm">
<input type="hidden" name="mail_options" value="HTMLTemplate=email_reply.htm,NoPlain">
<input type="hidden" name="mail_options" value="HTMLTemplate=email_reply.htm,KeepLines">
<input type="hidden" name="mail_options" value="HTMLTemplate=email_reply.htm,TemplateMissing=N/A">
It looks like what you want is this:
Code:
<input type="hidden" name="mail_options" value="HTMLTemplate=email_reply.htm,NoPlain,KeepLines,TemplateMissing=N/A">
I've tried the above changes locally, and if you do them, you'll get a nicely formatted HTML email sent to you.
Please let me know how you go with the above.
Bookmarks