Yandex SMTP is too slow.

Hello everyone,

I have a wordpress droplet. I am using yandex mail on my domain but whenever I try with “contact form” on my page, it takes minutes to send the message.

I checked the entire forum and saw similiar problems with gmail. and to be honest with you I couldnt understand the exact solution.

I wonder will you please tell me to step by step solution. I am sure it will be helpful for the others too.

thanks in advance.

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.

Accepted Answer


sudoedit /etc/gai.conf

and than I added precedence ::ffff:0:0/96 100

and sudo service apache2 restart

Site Moderator
Site Moderator badge
October 26, 2021

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

HI, i have same problem. Yandex Mail not working on my droplet

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel