Question

How to setup static contact form to send email using php to mail email, when there are multiple domains in the droplets

Emails do not work when the user clicks on the send button. Is it because php/Postfix/ error or not installed?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello, @lixqpxil

I can’t give you specific instructions because I’m not familiar with the server configuration and etc. However I can give you some basic instructions in order to troubleshoot this.

Have you checked the PHP error logs for your sites to see if there is an error generated when you execute the send email script?

Did you made any changes to the postifx configuration after you’ve installed it? If you’re not sure that postfix was installed successfully, you can follow this tutorial:

https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-postfix-on-ubuntu-18-04

Hope this helps!

Regards, Alex