Not only am I not getting mails from it, I'd also like it to remain on the 'CONTACT' part of the page and simply replace the form with the "Thank you" message (but that's another issue)
The content of the form is not touched by JS at all. It's simply going through the Nice & Simple form as it does out of the box. The only thing I've changed is the styling and adding the relevant email addresses to contactengine.php.
While I'm here is there any way for the 'From' email to be the same as the one submitted?
Keep in mind that this may get your mail caught by more spam filters. The email is not "from" the person who filled out the form - it's "from" your website. You might set the Reply-to header with that person's email address, but the From address should be an address on your domain (typically something like "no-reply@example.com").
In this case, sure, since you're only sending emails to yourself.
But what's the reason for wanting the user's name in the From field? The most common reason is to allow you to "reply" to the message. Using the Reply-to header allows that, without the need for any workarounds.
I've got the form set up here: http://keithneilson.co.uk/experimental/Mittelstand/#
Not only am I not getting mails from it, I'd also like it to remain on the 'CONTACT' part of the page and simply replace the form with the "Thank you" message (but that's another issue)
Did you look on ure spam box ?
Yes :D
I'm not sure what we can do to help.
Exactly what is the form doing with the content of the boxes? I think we need to see your JS.
The content of the form is not touched by JS at all. It's simply going through the Nice & Simple form as it does out of the box. The only thing I've changed is the styling and adding the relevant email addresses to contactengine.php.
Then I'm guessing that something is up with contactengine.php.
Frankly, I didn't know that PHP could create and send emails by itself....I know very little about WP / PHP.
Never mind, seems to be working now. I got a test mail from it. Still haven't got any of the mails previous to the test one tho, weird.
While I'm here is there any way for the 'From' email to be the same as the one submitted?
Yeah just change the email from to be the post data from the email address the customer types in.
Keep in mind that this may get your mail caught by more spam filters. The email is not "from" the person who filled out the form - it's "from" your website. You might set the
Reply-toheader with that person's email address, but theFromaddress should be an address on your domain (typically something like "no-reply@example.com").True, but you can also set a custom subject and mark the subject as safe in most email systems.
So "Website Enquiry - 1234 Safe Word" - that's how I roll!
In this case, sure, since you're only sending emails to yourself.
But what's the reason for wanting the user's name in the
Fromfield? The most common reason is to allow you to "reply" to the message. Using theReply-toheader allows that, without the need for any workarounds.I see your point, there's no real down sides to yours.