Form to email

Hello I am trying to send form data to email as detailed in the tutorial here [https://docs.wappler.io/t/sending-form-data-to-email/2858](http://Form to email) . I have reached the point where I have to Change the handler to DMXzone Server Connect: but I dont see any Handler field in the form properties to select. When I ignore that bit also, the form doesnt work.

We changed that a few versions back - we converted the handler menu to “Make Server Action Form” button and then you select your server action.
But from what i see you already clicked the “Make server action form” button and selected the server action.

What exactly does not work?

i AM NOT RECEIVING any emails when i submit the form

What settings are you using for mail setup?
Please check this tutorial for debugging problems with server actions and report the error you see (if any):

YAAAYYY… working now…

What have you changed?

After you clarified the HANDLER issue, I checked the form again and realised I had placed the SUBMIT button outside the form. I also set the mailer type to server default and retested. Now I need a way to inform the user that the form was successfully sent.

2 Likes

Hi enyonam, you will find your answer in this tutorial: https://docs.wappler.io/t/notifications-adding-and-general-notifications-usage/2845

:slight_smile:

2 Likes

Thanks a mill. I was able to do this too.

1 Like

Am not sure whether this is the right place to post a problem i am encountering in make my Form_to_Email server action to work.

I first did a search on this subject before starting a new topic, came upon this thread, and assumed it was appropriate to post here… since it was related to forms, and their functioning in the expected manner.

Have used a serverconnectform, and set up the required server actions and respective steps:

setup mailer
sendmail

and to send notifications on submit success:

But nothing happens… the form is not submitted, there is no error message, and the form is not reset. I saved debugging and checking my XHR output in the Network tab of my developer tools in Firefox browser:

I have double-checked the path to sendmail.php on the server, and it is correct.

So, why the 400 Bad Request error?

Am i missing out on anything?