mimesend - send files via MIME mail, from the command line
Pretty basic:
mimesend [-n] [-t to] [-s subj] (-f file [-m type])+ -n Don't actually send it; just print it to stdout. -t to The "to" address. -s subj The subject of the message. -f file Path to attached file, or - for STDIN. -m type MIME type of previous -f; therefore -m must follow -f.
For example:
mimesend -t you@yourhost.com -s "Hello, nurse!" -f greetings.htm -f foo.gif
Eryq, eryq@zeegee.com
8 Jan 1997
To install MIME::Head, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MIME::Head
CPAN shell
perl -MCPAN -e shell install MIME::Head
For more information on module installation, please visit the detailed CPAN module installation guide.