Is there some software that I need to install to be able to use a PHP contact form - It was working on a Share Hosting


I recently moved from a share hosting company to DO, I configured my server and everything is working fine except for a contact form that I have been using for years, I have php installed and it works with other PHP pages.

What I have is an HTML page (form) which sends a post request to a .php page. When I click the send button from the HTML form the server seems to process the PHP page because I see the HTML page that I created to notify the sender that the form was sent, but no email is really been sent.

Is there any software that I need to install in order to be able to send information through a form?

BTW I’m using Ubuntu and NGinx.


Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Ok, thanks a lot for all of your help!

@CrypticDesigns Ok, I will try to find more information. But in theory what are typically the security issues with mail-servers/services?

@CrypticDesigns One last question, do you know if there is any security configuration that I need to make for sendmail or there is nothing to worry about?

The reason for my question is because I have heard that mail servers need some sort of security configuration.