Answer the question
In order to leave comments, you need to log in
How to set up sending letters to 1C-Bitrix when the mail is on Yandex?
Hello, I'm asking for help, I just don't want to send mail.
what is installed:
# smtp account configuration for site2.ru
account site2.ru
logfile /home/bitrix/msmtp_site2.ru.log
host smtp.yandex.ru
port 587
from [email protected]
keepbcc on
auth on
user [email protected]
password PASSWORD
tls on
tls_certcheck off
tls_starttls on
php -r "mail('[email protected]', 'Test', 'Test');"
host=smtp.yandex.ru tls=on auth=on [email protected] [email protected] [email protected] smtpstatus=535 smtpmsg='535 5.7.8 Error: authentication failed: Invalid user or password!' errormsg='authentication failed (method PLAIN)' exitcode=EX_NOPERM
Answer the question
In order to leave comments, you need to log in
account default
logfile /home/bitrix/msmtp_default.log
host smtp.yandex.ru
port 587
from [email protected]______________________
keepbcc on
auth on
user [email protected]_______________
password ____________________
tls on
tls_certcheck off
tls_starttls on
earned! After I entered a new password in the access control in "Application passwords" and set it instead of the password for web mail ....
Thank you. Until the number and email in the Yandex passport were tied, it didn’t work
The method PLAIN and method LOGIN error occurs on gmail as a result of disallowing "insecure applications" to fix, you need to change the security policy, then everything will work.
https://myaccount.google.com/lesssecureapps
Please note that this setting must be allowed by the domain administrator.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question