Re: How to mail a file?
>>>>> In <[🔎] 19990114132848.A469@vlc.servicom.es>
>>>>> homega@vlc.servicom.es wrote:
> I believe there's a command for e-mailing a file without having to use an
> MTU, but directly from the command line. mailx, smail,... any ideas?
If you want to send a textfile:
$ mailx -s "Subjecttext" your@email.address < FILENAME
If you want to send binary data you must convert it to text with uuencode
(or mmencode):
$ uuencode FILENAME < FILENAME | mailx -s "Subjecttext" your@email.address
greetings Carsten
--
GiS - Gesellschaft fuer integrierte Systemplanung mbH Tel. +49-6201-503-38
Carsten Schabacker Fax +49-6201-503-66
Junkersstr. 2 E-Mail c.schabacker@gis.ibfs.de
D-69469 Weinheim http://www.ibfs.de
Reply to: