В консоли выходит такая ошибка "msmtp: the server sent an empty reply
msmtp: could not send mail (account default from /etc/msmtprc)"
файл конфигураций:
# smtp account configuration default
account default
logfile /home/bitrix/msmtp_default.log
host smtp.gmail.com
port 465
from ****************@gmail.com
keepbcc off
auth on
user *******************@gmail.com
password ************
account default
logfile /home/bitrix/msmtp_default.log
host smtp.gmail.com
port 587
from user@gmail.com
auth on
user user@gmail.com
password password
tls on
tls_starttls on
tls_certcheck off
keepbcc on