mailsend icon indicating copy to clipboard operation
mailsend copied to clipboard

Quiet Mode

Open ghost opened this issue 10 years ago • 1 comments

The -q switch is not functioning with the v1.17b15 Debian package. Appending >/dev/null works just fine, but figured I'd give a heads up.

ghost avatar Sep 02 '14 13:09 ghost

Just kidding. Only appending >/dev/null 2>&1 makes it actually quiet.

root@host:~# /usr/local/scripts/mailsend -q -f [email protected] -smtp smtp.example.com -t [email protected] -sub Test -M "This should be quiet" Message: This should be quiet Mime type: text/plain Disposition: inline Encoding type: none

root@host:~# /usr/local/scripts/mailsend -f [email protected] -smtp smtp.example.com -t [email protected] -sub Test -M "This should be quiet" >/dev/null Message: This should be quiet Mime type: text/plain Disposition: inline Encoding type: none

root@host:~# /usr/local/scripts/mailsend -f [email protected] -smtp smtp.example.com -t [email protected] -sub Test -M "This should be quiet" 2>/dev/null Mail sent successfully

ghost avatar Sep 02 '14 14:09 ghost