A
A
Alexander Konovalov2018-11-14 17:14:21
PHP
Alexander Konovalov, 2018-11-14 17:14:21

Why is the mailing not working?

Hello! I use the Tamaranga engine. When sending a mailing list, the admin panel gives the following error:
stream_socket_client(): unable to connect to ssl://smtp.yandex.ru:465 (? ???????????? ????????)
/ home/user/public_html/domain.com/bff/external/phpmailer/class.smtp.php [218]
Here is the content of the class.smtp.php file: https://pastebin.com/AYEETbZE
From the config:

'mail.support'  => '[email protected]',
    'mail.noreply'  => '[email protected]',
    'mail.admin'    => '[email protected]',
    'mail.fromname' => 'Example',
    'mail.method'   => 'smtp', // варианты: mail, sendmail, smtp
    'mail.smtp' => array(
        'host'=>'smtp.yandex.ru',
        'port'=>465,
        'user'=>'login',
        'pass'=>'pass',
        'secure'=>'ssl', // варианты: '', 'tls', 'ssl'
    ),

What's wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Chekanov, 2018-11-16
@LanDer931

It is necessary to change the default values ​​\u200b\u200bfor your
login, password, register your boxes

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question