Skip to content

Instantly share code, notes, and snippets.

@jonatasrenan jonatasrenan/run.sh
Created Jan 12, 2018

Embed
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://smtp.grude.ufmg.br -S smtp-auth=login -S smtp-auth-user=login -S smtp-auth-password=pass -S from="Sender <sender@ufmg.br>" recipient@ufmg.br'
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.