[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mail -v user@host.com // HOW TO MAKE AN ATTACHMENT..



On Fri, 2002-02-08 at 06:30, louie miranda wrote:
> Hi, i was just wondering how to attach(as in attached file) w/in a mail.
> using.. `mail` command only on linux.
> 
> I try,
> 
> mail -v user@host.com < file.txt
> 
> but it paste it over the msg window only.. 
> 
> how are u going to attach(as in attachment to an email).

Look in man uuencode/uudecode.

Something like this should be enough:

cat file-to-attach | uuencode file-to-attach| mail user@host.com


Andrea

-- 
Should define myself as an IT consultant? -- Andrea Vettorello



Reply to: