simple contact form does not appear to be working correctly
I made forms on 2 different sites with smtp - but neither work
i followed instructions and guides at wappler but missing something
also when i placed submit button it put it outside form code - so i also tried moving it inside but nothing works - for me at least
see attached screenshots
[REMOVED BY ADMIN. DO NOT POST SCREENSHOTS SHOWING YOUR LOGIN DETAILS!]
I did see your screenshots before they were removed and noted something a little off, your code you supplied in post 2 has the name field as id=“name1” name=“name1” while your server action has name set to {{$_POST.name}} which should be {{$_POST.name1}} to match your form names.
Just check your $_POST Variables under Globals to make sure you also have a POST variable called name1 to also match your HTML form code.
Also try port 465 with SSL on and 587 with it off to see if one lets you through and the other doesn’t.
Also tried to use that Mailer, didnt work. Any ways to debug that thing or is there a best practice with some smtp provider? Used about 4
different SMTP. No luck.
have you tried using Server Default instead of SMTP in the Setup Mailer, just to test and see if it is working at all for you.
I use both all the time and never had a real issue to be honest so not sure why you are having issues with it. Let me know if you try Server Default and what happens please.
from my server:
I don’t see where you are calling the mail script in the code on contact.php. When I completed your form there is nothing in the logs/error logs because it isn’t called.
looks like im missing a key operative if nothing is happening/running on server - 0-- im attaching new screen shots
I checked your site, and the action file gets executed without errors.
That means that the smtp server returns no errors. So there must be something there - as it is called, the send mail is executed but no mail is sent from the server?