It takes ~60 seconds to send a single email

I have a WordPress droplet and everytime PHP sends an email, it takes about 60 seconds to load the page.

For example, when you click “Send” on the contact form, it takes a whole minute for the “Sent Successfully” message to show up.

When running “ps wwaux | egrep “postfix|mail|exim””, i get: ps wwaux | egrep “postfix|mail|exim” root 886 0.0 0.2 102176 2668 ? Ss Jan22 1:27 sendmail: MTA: accepting connections root 15032 0.0 0.0 9392 896 pts/0 S+ 17:17 0:00 egrep --color=a uto postfix|mail|exim

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.

What do you do if you have multiple virtualhosts with different domains on the same server?

Wow this actually worked, that’s amazing. <br> <br>How did you know this would solve it?