How can I send a file through MAIL?

Gary Weimer weimer at ssd.kodak.com
Wed Nov 28 01:05:54 AEST 1990


In article <14578 at smoke.brl.mil> gwyn at smoke.brl.mil (Doug Gwyn) writes:
>In article <hobbit.659539924 at shum> hobbit at shum.UUCP (yoav gonen) writes:
>>How can I send a file through MAIL?
>
>mail whoever < file

This will only work for limitted sized non-binary files (i.e. small text
files).

Many mailers are confused by control characters. These can be removed by
uuencode'ing the file (uudecode replaces the control characters).

Also, some mailers truncate or garble large files (over 64K?). There is
a program called split which will break large files into smaller ones.

See man pages if you didn't already know this stuff (I don't have any
more info).



More information about the Comp.unix.questions mailing list