Answer the question
In order to leave comments, you need to log in
How to set up a mail server on plesk?
There is a VDS (centOS) on it a plesk panel. According to totorials, everything is so simple, but it does not work. In the server settings, for some reason, the domain.com mail server, although intuition suggests that it should be mail.domain.com.
Here is the config for swiftmailer:
'mailer' => [
'class' => 'yii\swiftmailer\Mailer',
'useFileTransport' => false,
'viewPath' => '@common/mail',
'htmlLayout' => '@common/mail/layouts/html',
'textLayout' => '@common/mail/layouts/text',
'transport' => [
'class' => 'Swift_SmtpTransport',
'host' => 'domain.com',
'username' => '[email protected]',
'password' => 'точно правильный',
'port' => '25',
]
],
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question