sending files from the cmd line...

[email protected]
Newsgroups gmane.mail.exmh.devel
Message-ID <[email protected]>
Hi,
I bit off topic, but still...

Back in the old days the standard trick to send a file was something
like:

uuencode blah blah | mail -s blah [email protected]

what's a good way to do that using mime? i checked the uuencode
command and it has a -m switch and it seems to do the right thing with
the text blob. However, i fail to find a good way to sprinkle the mime
headers around and make it appreciable to modern mailers. Any ideas?

/Anders
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.