On Fri, 2007-03-16 at 14:43 +1100, Cameron Simpson wrote: > On 15Mar2007 15:49, Aaron Konstam <akonstam@xxxxxxxxxxxxx> wrote: > | On Thu, 2007-03-15 at 21:19 +0100, Ambrogio wrote: > | > I have a strange problem and I cant understand how to solve it. > | > I'm looking for a simple command to send a file by email. > | > I found mutt and I checked it. > | > | what is the matter with: > | mail -s "This is subject" jsmith@xxxxxxx < file > > Only works for text. Breaks on long lines or non-ASCII characters. > Isn't a > MIME attachment (filename lost, other info lost). Only does one file. > Need I go on? You can go on ans long ass you want but the single mail line above handles the task asked for by the OP. I am not sure why it would break on long lines of reject non-ASCII characters. -- ======================================================================= Communicate! It can't make things any worse. ======================================================================= Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@xxxxxxxxxxxxx