nick June 23, 2016 / 00:00
In Settings > Email > Send email function is set to PHP mail function and if I add my email address that I know is working and then click the 'Send test email' button nothing happens and in Chrome Inspector I see an internal server error 500 message in the console which says: 

POST http://www.mydomainname.co.uk/api_html/Microweber/Utils/MailSender/test 500 (Internal Server Error)  api.dd5434d….1.0.7.js:7

Same happens on the contact form. Any ideas please?


Comments for Contact form internal server error 500

nick   June 27, 2016
Seems the api_html directory is missing so it can't find api_html/Microweber/Utils/MailSender/test
nick   June 27, 2016
Maybe api_html is a placeholder, the closest I can find is /src/Microweber/Utils/MailSender.php
Peter Ivanov   June 27, 2016
hi nick,

can you enable debugging by renaming the .env.example file to .env and you will be able to see the error
nick   August 10, 2017
The issue was that the php function escapeshellarg was disabled on the server, once enbled the contact form worked.
Thanks Peter!
You have to log in or register to post a comment: