Clear the setting in $TEMPLATEDIR and use the $TEMPLATEURL setting in formmail if you want to use php in your template. For example:
$TEMPLATEURL = "http://www.yoursite.com/fmtemplates";
...
Welcome to the Tectite Forums! You can download and get support for our free PHP FormMail (form processor) and other free software.
Type: Posts; User: ginger23
Clear the setting in $TEMPLATEDIR and use the $TEMPLATEURL setting in formmail if you want to use php in your template. For example:
$TEMPLATEURL = "http://www.yoursite.com/fmtemplates";
...
You're using a different form processing script for the DayCareApp.htm form (formprocessorpro; you're using formmail for the contact page).
ginger
In that line, CSVHeading (and the following comma) should either be removed, or should be inside the quotations marks with a comma separating it from the name of the csv file.
ginger
Did you also add the new email address to $TARGET_EMAIL?
Also, check SPAM folders.
I don't understand this statement. What error message do you get?
Other things:
1. Your html template has a .txt extension. It should have an .html extension.
2. Remove the trailing slash from...
Yay! :o
ginger
Your $TARGET_EMAIL setting is wrong. Scroll down to the "Examples" here:
http://www.tectite.com/fmdoc/target_email.php
ginger
Great... glad it's working.
ginger
Hi,
Use an INI file and email aliases using the city names and email addresses. Example for INI file:
[email_addresses]
Denver = "email1@domain.com"
Phoenix = "email2@domain.com"...
Hi,
That generally means there's a problem with the path in the $TEMPLATEDIR setting. Did you change the server path in formmail after the migration? You can run testalert to get the server path:...
The mail_options setting goes inside the opening and closing form tags in the html, not in formmail.php.
ginger
You have a different email address for recipients than the one specified in $TARGET_EMAIL. The email address used in the recipients field needs to be specified in $TARGET_EMAIL.
ginger
Are you sure that the file you're looking at is the same as the version uploaded and being used by the form? If so, post a link to your form, or the form code itself here.
ginger
Please post your $TARGET_EMAIL setting.
ginger
Yeah, I don't know why the CMS would do that, but I do know that I've used multiple recipients before and not had a problem.
Maybe Google the problem and specify the name of the CMS. Maybe someone...
You actually have this in the form which isn't correct:
lnp(at)integrawebdesign(dot)co(dot)uk
ginger
Hi,
Can you post a link to the form?
ginger
I think the folder's permissions should be rwx-rx-rx (or rwx-x-x) and the file's permission should be rw-rw-rw.
As for the error message it sounds like a path issue. Make sure you have the server...
Hi,
All of the hidden fields for your contact form are outside of the form tags. In other words, your source code displays all of the hidden fields, then you have your opening form tag:
<form...
Check out the documentation for recipients:
http://www.tectite.com/fmdoc/creating_forms.php#recipients
Hi,
You're missing the opening <html> tag at the top of your email template. You must have deleted it by accident. Put that back in and see if that fixes your problem.
ginger
Have you tried using a server side INI file and putting the cc and bcc into the special_fields section? I don't know if I've ever used cc and bcc, it but it might work ... and even if it doesn't work...
Not sure about that. You might want to check the forum for information about WordPress sites.
So you didn't create a folder for your templates?
No, $TEMPLATEDIR specifies the location of the template directory, and in the form, bad_template specifies the name of the error page. Together, formmail knows where to find it. It's done this way...