getgrav / grav-plugin-email

Grav Email Plugin
http://getgrav.org
MIT License
37 stars 29 forks source link

Urgent help needed... for problem with formmailer #146

Closed prinla closed 3 years ago

prinla commented 3 years ago

After submitting my mail there comes an error "Oops there was a problem, please check your input and submit the form again."

I have several webpages running with grav and none makes this problem... I copied exactly the same forms to the page with the exact same email configuration. I tried to send it by smtp with different accounts... I tried it with the sendmail-system. I even tried a form with just one field and the most basic action. I set it up on two different servers. Whatever I try the same result!

You can check it on these both domains: https://www.nova-via.pt and http://novavia.prinla.com

I almost tried to find some help on discord.com with Pro-1-User Ricardo. He couldn't help me neither. As I said I have a lot of pages running with Grav and exactly the same settings... I tried for more then 8 hours finding a solution. NOTHING CHANGES!

Screenshot 2021-03-17 223426

Screenshot 2021-03-17 223535

Screenshot 2021-03-17 224451

prinla commented 3 years ago

https://discord.com/channels/501836936584101899/501854266873348112/821858027417239612

rhukster commented 3 years ago

Have you tried the 'test-email' CLI command? https://github.com/getgrav/grav-plugin-email#testing-with-cli-command.

First thing to do is to determine if your server can send email. If the same page/form configuration works on other Grav installations, then it's most likely an issue with sending via your server.

prinla commented 3 years ago

test-email

http://novavia.prinla.com is my usual test-server where I have all my other websites running without any problem!

I am not used to CLI-command... but if all the other websites on this server are having no problems at all I cannot believe it could be the server anyhow? Or am I wrong?

The official website is on https://www.nova-via.pt which is on another server... And that's why I transfered the site to my usual test-server... but the error remains the same.

prinla commented 3 years ago

I think the CLI-command has to executed on the server directly, right? I would have to ask my webmaster to do it...if you still think it would be necessary (but he is sleeping right now) :))))

prinla commented 3 years ago

http://novavia.prinla.com I have the debug running... maybe that could help you helping me.

prinla commented 3 years ago

And here is the answer to the problem (I copied the whole configuration one by one from another website): The Problem was caused by the session TIMEOUT. I had it setup only for 1 second on this website. And that caused the problem. Once I set it higher the form worked normally. Though I have lost a lot of my time today I hope this might help somebody in the future.