Question

I install a wordpress in my site the mailpoet show some error mail function not work

Posted October 27, 2014 2.2k views

HI how to solve this problem.
I installed postfix & sendmail

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.

×
Submit an Answer
2 answers

Hi,

You can’t install both postfix and sendmail – they’ll conflict with each other. I would recommend keeping Postfix and uninstall Sendmail:

sudo apt-get purge sendmail
sudo apt-get install postfix --reinstall

Are you able to access port 25 on remote servers? What’s the output of:

nc -vz smtp.gmail.com 25

Hello all,

What I could suggest here is using an SMTP plugin for your WordPress site.

That way you will be able to specify an SMTP server with authentication which your emails would be going through. You could for example use Gmail’s SMTP settings. This would drastically increase the delivery rate of your emails as well compared to using plain PHP mail.

I’ve been using this plugin for a while now and it works very well: Easy WP SMTP

Hope that this helps!
Regards,
Alex