[ale] emailing audio files from scripts

Greg Sabino Mullane greg at turnstep.com
Mon Feb 25 21:25:45 EST 2002



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> I'm attempting to replace my work CDs with MP3s, so I can keep the CDs at 
> home instead of the office, and I want to have a script mail one to my 
> work email once every hour, but I can't find an email program that will 
> accept full input from a command line and handle attachments.

Try these:

1) The classical way, with good old uuencode:

uuencode numberOne.mp3 numberOne.mp3 | mail -s "MP3 number 1" me at work


2) Using metasend, which requires a bit more info:
metasend -b -s "MP3 number 1" -f numberOne.mp3 -m application/octet-stream \
         -e base64 -t me at work


3) Using mutt:

echo "Music" | mutt -s "MP3 number1" -a numberOne.mp3 me at work


4) Using elm:

echo "Music" | elm -s "MP3 number 1" -A numberOne.mp3 me at work


Number 3 or 4 is probably your best bet, since they both send the file 
as an attachment, and don't require the detail level that metasend does. 
Of the two, mutt is better.


Greg Sabino Mullane  greg at turnstep.com
PGP Key: 0x14964AC8 200202252122

-----BEGIN PGP SIGNATURE-----
Comment: http://www.turnstep.com/pgp.html

iD8DBQE8evHzvJuQZxSWSsgRAh4YAJ4uuWdSJMD/PZYRcfEsYjNMzqDXnwCgqXT0
DE3gO38o2w0Jw4P3eGo2VDI=
=PnbJ
-----END PGP SIGNATURE-----




---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list