nliautaud / p01contact

Create contact forms by writing simple tags. Also a plugin for GetSimple and Pico CMS.
MIT License
16 stars 15 forks source link

Simply doesn't send anything #71

Closed geografin closed 1 year ago

geografin commented 1 year ago

I followed all instructions. But the error is "Message not sent" ReCaptcha is working

nliautaud commented 1 year ago

Hi, Did you check the debug mode ?

For GetSimple : https://github.com/nliautaud/p01contact/wiki/GetSimple-plugin#debug For PicoCMS : https://github.com/nliautaud/p01contact/wiki/Pico-CMS-plugin#debug Or https://github.com/nliautaud/p01contact/wiki/Settings

geografin commented 1 year ago

Yes, I just did.  Warning : mail() has been disabled for security reasons in   /var/www/s242150/data/www/service-geo-tambov.ru/admin/inc/theme_functions.php(544) : eval()'d code   on line   9 Sorry, there was an error sending your message. Please try again later.

 

Суббота, 1 апреля 2023, 19:05 +03:00 от Nicolas Liautaud @.***>:     Hi, Did you check the debug mode ? For GetSimple : https://github.com/nliautaud/p01contact/wiki/GetSimple-plugin#debug For PicoCMS : https://github.com/nliautaud/p01contact/wiki/Pico-CMS-plugin#debug Or https://github.com/nliautaud/p01contact/wiki/Settings — Reply to this email directly, view it on GitHub , or unsubscribe . You are receiving this because you authored the thread. Message ID: <nliautaud/p01contact/issues/71/1493033569 @ github . com>        

nliautaud commented 1 year ago

The warning is indicating that your hosting provider has disabled the PHP "mail" function.

geografin commented 1 year ago

My hosting provider wrote that everything is set correctly on their side, nothing should interrupt mail sending

 

Суббота, 1 апреля 2023, 19:21 +03:00 от Nicolas Liautaud @.***>:     The warning is indicating that your hosting provider has disabled the PHP "mail" function. — Reply to this email directly, view it on GitHub , or unsubscribe . You are receiving this because you authored the thread. Message ID: <nliautaud/p01contact/issues/71/1493037154 @ github . com>    

nliautaud commented 1 year ago

Unfortunately this is a warning raised by PHP and unrelated to the plugin. The mail function is disabled on your server, that's a setting that neither this plugin nor the CMS you're using have access to.

You may ask your administrator or hosting provider to enable mail() in your PHP install, or find another plugin using SMTP instead of sendmail.