Skip to content

Instantly share code, notes, and snippets.

@jonatasrenan jonatasrenan/
Created Jan 12, 2018

What would you like to do?
Send mailx from docker
docker run -i --rm corentinaltepe/heirloom-mailx sh -c 'echo "Backup executado com sucesso" | mailx -s "Backup `date +%Y-%m-%d`" -S smtp=smtp:// -S smtp-auth=login -S smtp-auth-user=login -S smtp-auth-password=pass -S from="Sender <>"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.