email form

30 views
Skip to first unread message

Peter Hendriks

unread,
Mar 17, 2020, 11:43:39 AM3/17/20
to web2py-users
I am a newbie. I have forms on my website with a send button. Actually they work fine without an error, but there is a significant problem. I do not receive the by clients filled out forms in my G-mailbox.

Dave S

unread,
Mar 17, 2020, 7:38:47 PM3/17/20
to web2py-users


On Tuesday, March 17, 2020 at 8:43:39 AM UTC-7, Peter Hendriks wrote:
I am a newbie. I have forms on my website with a send button. Actually they work fine without an error, but there is a significant problem. I do not receive the by clients filled out forms in my G-mailbox.

The normal behavior for an HTML form is to send data to the server via a POST request.  In web2py, the URL in the POST request would direct this to a controller function.  For the data to be sent to a mailbox, the controller function would need to put the data into an email message body and send it to an email server.

Some servers are running in an environment that provides a local email server, but there are also various 3rd-party services (like mailchimp,sparkpostmail.com, or smtp.gmal.com [requires some extra stuff for security settings between app and gmail]) .

/dps

Reply all
Reply to author
Forward
0 new messages