I would like to send mail from app service by using mail command like
echo "hello" | mail -s "test subject" -r from@test.com to@test.com
but this mail is not working.
If I use same mail command from smtp service then I am always get mail to mailbox.
If I use heirloom-mailx then it is working from app service
apt-get install heirloom-mailx
echo "This is the message body and contains the message" | heirloom-mailx -v -r "from@test.com" -s "This is the subject" -S smtp="smpt:25" to@test.com
Hello,
I would like to send mail from
app service
by usingmail
command likebut this mail is not working.
If I use same mail command from
smtp service
then I am always get mail to mailbox.If I use heirloom-mailx then it is working from
app service
My swarm configuration
Test with ssmtp
I try to install ssmtp on the
app service
but it is not working too.and set set up config like
Thank you for help