Send app data to email

the app is on backendless’ frontend… i have tested it on both the computer and cellphone and it works fine.
https://backendlessappcontent.com/4A2D8AAA-6EDF-CD29-FF40-FB116F11A300/B89CBFA0-9B68-42E4-A8A7-5A45EE972A5E/files/ui-builder/containers/NTR_Trailers/index.html?page=landing

this is the link to my app. have a look at it and you’ll understand. i am currently trying to code the “send” button and then i also have a “Thank you” page which must be activated once the data has been entered and its done

What should happen when the user clicks Send?

all the data entered on the app should be sent to my email

Ok, did you add all the logic to make it happen?

i tried. but i dont think its correct. i did exactly the same coding on the sent button which is in the backend. basically the “test email” which you guys have helped me with

Could you add a screenshot showing the button’s click event handler logic?

Does “Page Data” contain property “Message”?

“mesage” was a default entry, i have not changed that. i don’t know what to enter there…

In there you need to compose the contents of your email based on the data entered into the form by the user.

ok so that is a pre-populated message?

so if i understand correctly, there is no way to send the data entered by the employee to be sent to my email?

Do you want the email to contain all the data entered by the user in the form? Of course there is a way to do it. You just need to add Codeless logic to make it happen. If you would like us to do it for you, it can be done on the consulting basis - send an email to sales@backendless.com to get a quote.

Regards,
Mark

thank you.

Hey,
I have the same problem.

I want send all the inputs from my form to an emailaddress.
SMTP-server is connected. Logic is behind the inputs (Value logic = “message”) and the submit-button (see attachment).
There is no mail in my inbox if I tried to send this form.
I got an alert in console.log (see attachment).

https://backendlessappcontent.com/6B737B6F-BDAE-CE78-FFA6-278F2E11B200/C6601AD8-4118-4362-9E32-5DC6E557D034/files/web/app/index.html

Whats wrong? What should I do?

Thanks so much and best regards

Daniel


02

Hi @Daniel_Wauer!

Thank you for contacting us. From error message it looks like you have tried to submit empty form. I have just tried to submit filled form and it worked fine but for empty form I got your error.
Have you got this error for empty form?

Regards, Andriy

Thank Andriy,

you can see in above picture that I filled out the two textfields with „One“ and „Two“.
But the error message will be the same.
Did you do it in another way?

And if you did it correctly without error why I didn‘t get a mail in my inbox?

Thanks

Oh sorry!
I tested it now again.
It works!
The mails are sent in spambox.
But I got only one entry - same for both inputfields.
How can I change that?

Thanks

Hello @Daniel_Wauer

Seems like you’ve got the same “dataBinding” value for both inputs

once you split it you can combine them in the submit logic

Regards, Vlad

Thanks Vlad,

but how can I set two propertys in the “Get property…of…” logic?
Where do I input the second Label?

Thanks

04

you can use more than one “Get property” block