Hi,
I got 'mail function succeeded', when using the testmail.php file so it might not be that
That's good. Did you also get the email that it sends?
The following error occurred in FormMail:
HTMLTemplate
'<path-to>/html/email/formtemplate/index.php'
caused the following errors:
'loginrequest' is not a field submitted from the form
This indicates a problem with filling in the template. I've just checked the logic in Formmail, and I suggest this modification to your form (add a definition for "TemplateMissing"):
Code:
<input type="hidden" name="mail_options"
value="HTMLTemplate=index.php,NoEmpty,TemplateMissing=" />
I think this will stop the above error when the checkbox hasn't been checked.
If you're still getting errors after that, could you send me:- your configured formmail.php
- your template (index.php)
- your good_url script (success.php)
- your bad_url script (oops.php)
Please send to supportstaff AT tectite DOT com.
Bookmarks