Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Plugins

Timeout after email sent with contact form

Solved by Seb View solution

Started by Seb 8 years ago · 1 replies · 573 views
8 years ago

Hi!

I've included a contact form which is sending email when submitted.

It works but front-office and back-office become unresponsive for 5 minutes. After that the website is back as if nothing happened

I don't know how to debug this. I've tried SSL and TLS for SMTP config.

Thank you

8 years ago Solution

I reply to myself!

My form is in a a modular page. I must add action parameter in the the form.md frontmatter and change the path to the thankyou page

YAML
form:
  action: /my-modular-page-url
  display: _my-form-module/thankyou

Now it works as expected!

👍 1

Suggested topics

Topic Participants Replies Views Activity
Plugins · by Rene, 1 week ago
2 44 1 week ago
Plugins · by Xavier, 4 weeks ago
2 54 4 weeks ago
Plugins · by Luka Prinčič, 7 years ago
3 1181 1 month ago
Plugins · by Sebastian van de Meer, 1 month ago
1 48 1 month ago
Plugins · by PIERROT Alain, 2 months ago
3 73 2 months ago