I have followed the mail tutorial and used the web inspector to debug. Initially, I had a 500 error but have sorted that out. But still not receiving a test email. I have tried various connotations (port and such like)
and browsed the community but still unable to sort this. Any help would be appreciated.
The test page is at https://loveyurt.co.uk/formMail.php
formailer.php is as follows…
Start the troubleshooting by turning on the output of your sendmail action to see what it reports. You could also use static email addresses for to and from until you know the mail sending is working properly.
Hello,
We’ve just updated the mailer component used in Wappler for PHP to the more modern PHPMailer.
Please re-save your server action and try again, to see if your issue has been fixed.
Apologies for slow reply I was checking the server to see if there was another issue, but all seems ok. Still no joy on getting this to work. Debugging is turned on. Nothing showing.
I am actually asking what expression are you using in the send mail step in Server Action?
It seems the expression is returning either an invalid value or no value.
Oh, i just saw the link in your first post.
You have an issue on your form. Why are you using dmx-on:submit="form1.reset()"? It’s a wrong behavior, you don’t want to reset your form on submit as the form inputs will be cleared when you click the submit button, so that’s why no value is submitted to the mailer …
If you want to reset your form, after the mail has been sent use the server connect > success and then call the reset, not on submit!