I had posted a few days back to an old thread regarding Form to email, as i thought it was relevant to post there instead of starting a new topic.
Not having received any replies there yet, i crave your indulgence for letting me post the developments since my last post (mentioned above).
In that post, i had included a screenshot of the error 400 that showed up for the file sendmail.php under XHR tab.
Since then...
One of the things i did was to remove the double validation that was happening (on the server-side and on the client)... manifesting itself as Error messages after every required field on the form, strangely appearing after the form was submitted.
Also, i changed my smtp settings to reflect the testing domain's smtp server, instead of localhost,
I no longer get the 400 Error. However, after 2 days of tunneling, am yet to see any light.
As Ben says, the issue appears around that field.try entering a static address (like me@email.com)
Also some servers require the senders address to be registered on that server as a security/ anti spam precaution
Pardon my confusion here @ben, @Hyperbytes … and please correct me if i am wrong.
But i assumed the From (Name) field takes its value from the globals {{$_POST[‘Full Name’]}} variable,
and the Email field from {{$_POST[‘Email Address’]}} variable.
… which is how i have set it up.
So, how could the Sender (who is a user on the website) have his email registered on the domain server?
First of all it is never a good idea to call your inputs like Email Address having spaces in the names.
Then - it seems the expression used there for the sender mail seems to not return any value: {{$_POST['Email Address']}} so check if it actually sends any value.
On your screenshot its not really visible what expressions exactly have you selected. Please show the value selected for sender email in the data picker.
Also - have you tested with a static values as others already suggested?
Not able to verify the rule for HTML name attribute except that it must be a single value name. In your case you have two values, namely Full Name and Email Address.
Try naming the inputs Full_Name and Email_Adress respectively and don't forget to adjust the posted values on the server.
I have only just seen your reply to my message, when i was replying to @Teodor.
Have always learned and implemented most of the helpful stuff you continue to post in the Community.
I agree with you about the convention of not using spaces between words. However, in my case it was not showing up as a problem in the Editor… so i was lulled into thinking all was well on that front, and that was not indeed the source of my misery.