Skip to content

Cannot send mail with msmtp  #200

Description

@GrexAut

Hi,

I configured msmtp, because ssmtp was removed in the container.
I tried so send mail with
echo -e "To: example@mail.com\r\nSubject: Blah\r\n\r\nThis is a test" | msmtp example@mail.com

This is working

But with command mail (and all notification scrpts are working with command mail), I'm trying with:
echo "Test" | mail -s "Testsubject" example@mail.com
I get:
mail: cannot send message: Process exited with a non-zero status

echo $? returns me erorr code 36, any ideas?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions