[H-GEN] Automated Mail with Mutt
Mark Suter
suter at zwitterion.humbug.org.au
Thu Nov 13 07:41:42 EST 2003
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Anthony,
> mutt mail at example.com -s "Subject" -i /path/message.txt -a /path/backup.sql
>
> The problem is that mutt comes up and wants you to confirm all
> the infomation. Is there a way to automatically send the email
> without confirmation from the user?
If you provide no input, mutt will just send the email, for
example,
mutt -s "Subject" -i message.txt -a backup.sql mail at example.com < /dev/null
but this is not the best solution. Take a good look at the other
solutions proposed on this list.
Yours sincerely,
- -- Mark John Suter | I know that you believe you understand
suter at humbug.org.au | what you think I said, but I am not sure
gpg key id 2C71D63D | you realise that what you heard is not
mobile 0411 262 316 | what I meant. Robert J. McCloskey
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Check Keyservers or http://zwitterion.org/keys/
iD8DBQE/s3wGRYso2ixx1j0RAsS8AKCJlwF++AYN4Q9NOw9k1YeD1wEKRQCfRsMR
XjsGY5DJ13sOBW/tbAnBCwo=
=WXK9
-----END PGP SIGNATURE-----
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'. See http://www.humbug.org.au/
More information about the General
mailing list