This is an old revision of the document!
# apt install msmtp # cat /etc/msmtprc
defaults port 25 tls off auth off account default host mail.isp.un domain server.corpX.un #from asterisk@server.corpX.un #need for mutt
$ cat mail.txt
Content-Type: text/plain; charset=UTF-8 To: userX@isp.un From: Asterisk <asterisk@server.corpX.un> Subject: Record Запись cделана
cat mail.txt | msmtp -f asterisk@server.corpX.un userX@isp.un