Skip to content
Snippets Groups Projects
Verified Commit fd325c52 authored by David Beniamine's avatar David Beniamine
Browse files

Check mail with customizable address

parent c933a156
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
echo "RUN $(basename "$0") ==="
Subject: test\n\nCeci est un test" | sendmail -t root
if [ -z "$1" ]; then
to="root"
else
to="$1"
fi
Subject: test\n\nCeci est un test" | sendmail -t $to
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment