Answer the question
In order to leave comments, you need to log in
How to send a message to Vkontakte by email?
Hello everyone, I was faced with the task of sending some notifications from the site to my own Vkontakte profile using emails.
I sent a test message to my email via VK and received an email, sending to which I receive a message in VK.
I tried to send to this Email from different mailboxes, messages come.
But when I try to send through the
mail () script,
the messages do not come. Has anyone come across? how is complexity solved?
Answer the question
In order to leave comments, you need to log in
phpmailer + yandexSMTP
Example config.php
$__smtp = array(
"host" => "smtp.yandex.ru", //smtp сервер
"debug" => 2, //отображение информации дебаггера (0 - нет вообще)
"auth" => true, //сервер требует авторизации
"port" => 25, //порт (по-умолчанию - 25)
"username" => "%username%",//имя пользователя на сервере
"password" => "%password%",//пароль
"addreply" => "[email protected]",//ваш е-mail
"replyto" => "[email protected]" //e-mail ответа
);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question