Answer the question
In order to leave comments, you need to log in
How to make WordPress use Yandex mail for notifications?
I wish you good health, habrovtsy!
They gave me an order here - to make a community on WordPress ( nashaulitsa.ru ). I myself am a programmer and have always created sites based on the engine created by our company, and this is the first time I meet this. Wordpress mastered quickly, but the customer said that Yandex allegedly provides the ability to use their smtp server to send any messages. And that you need to configure WordPress so that it uses it to send alerts (in this case, in the footer there will be just a link to Yandex, like). So here are the questions:
1. Is it true?
2. If this is true, is it possible to make messages sent from a mailbox like support[sobaka]nashaulitsa.ru?
3. If it's true, how to do it?
Much appreciated in advance.
Answer the question
In order to leave comments, you need to log in
Connecting Yandex.Mail for your domain pdd.yandex.ru/domains_add/#tab=2
I once even wrote an article on this topic: WordPress does not send letters ?
What alerts are you talking about?
In general, WP sends all emails through a function wp_mail()
that is included in the list of pluggable functions (wp-includes/pluggable.php) . And these are the functions that can be redefined in plugins. From this it follows that it is possible to install a plugin that overrides the function wp_mail()
, I used plugins for example ( WP Mail SMTP, Configure SMTP ).
In turn, the function wp_mail()
uses the PHPMailer(wp-includes/class.phpmailer.php) class , aka the $phpmailer global object, to send it . From this it follows that it is possible to determine through this object how letters should be sent to it.
I am using the Configure SMTP plugin with SDA enabled in it.
thanks for answers. Only not all questions have been answered - how can Yandex be connected to all this? :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question