Not getting email when email field is blank (See more user questions)
I think that might be down to your server. When testing, I have observed
that the email always gets sent whether or not the visitor enters an email
There's a couple of things you can do. You can hard-code a From: email
address into the script (there's a configuration for it) which means there
will always be a From: email address, so in a case like yours where the mail
server appears not to send the email if there is not a From: address, it
should work every time.
Another thing you can do with the Pro script is to make the email field a
required field, so the visitor would always have to enter an email address,
so in this case where it seems to be required, you wouldn't have any
There are no required fields on the free script, simply because I have no
way of knowing what fields my users would like to have as required. Some
users use the script for surveys and do not require, nor ask for, an email
address from the visitor, which is one example of why I can't make the email
field a required field for everyone. I prefer to let the user/customer make
those choices, which is why the Pro script has many configuration options,
including required fields.
The "thank you" message will appear every time the script is submitted
(without errors). This is because PHP has no way of knowing if the email
actually got sent (never mind received, which is quite a different matter
these days, with many over-zealous spam filters). If everything is ok on
the server, then the "thank you" message should be an indication that the
email actually got sent.
Any questions, just let me know.
The world's easiest feedback script!
----- Original Message -----
Sent: Tuesday, July 13, 2010 8:44 PM
Subject: Form to Email
I installed the free version of the FormToEmail in my website to see how it
It is at
I have one comment/observation.
When the user does not enter an email address, the Thank you response
appears while the message is not being sent.
Does the Pro version address that? Maybe something can be done with the free