Answer the question
In order to leave comments, you need to log in
BitrixVM 7 - how to set up msmtp?
BitrixVM costs the latest version, letters do not always leave the server. More precisely, they are sent only through the command line with this command:
echo -e "test message" | msmtp --debug -t -i [email protected]
And when I use PHP's mail() function, nothing happens. More precisely, I write it like this:
if(mail("[email protected]", "TEST SUBJECT", "TEST BODY"))
echo "Почтовая система работает!";
else
echo "Неудача, почтовая система не работает, попробуйте еще!";
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