|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: [Plug] Mailing attachments from command line
|
OH my - silly me! :-(
Thanks for the correction!
I still have yet to find a suitable solution to my dilema. The 1 or 2
programs people have mentioned here on the list failed to compile in the
machine I ran it on. Probbly has nothing to do with the program and
everything to do with the system (the admin is a slacker, and probably
doesn't keep his libraries up-to-date). Any other advice would be
helpful. Thanks :-)
Daniel W. Ottey
Sophomore Computer Science Student
Drexel University - Philadelphia, PA
http://www.snarfykat.org/
AOL Instant Messenger: Snarf2002 - http://www.aim.aol.com/
ICQ: 5723666 - http://www.mirabilis.com/
IRC: ThundrKat - http://www.undernet.org/
On Mon, 9 Aug 1999, Michael C. Toren wrote:
> > Is there anyway to attach a document to a mail message from the command
> > line? I guess it would be easy for a text file:
> >
> > echo "attachment.txt" > mail username
>
> Incidentally, the above line probably doesn't do what you intended; it
> would place the literal string "attachment.txt" into a file named "mail",
> overwriting it's previous contents if it already existed.
>
> To mail a user the contents of a text file, try:
>
> mail -s "Desired subject line" username < attachment.txt
>
> -mct
>
>
>
> _______________________________________________
> Plug maillist - Plug@lists.nothinbut.net
> http://lists.nothinbut.net/mail/listinfo/plug
>
_______________________________________________
Plug maillist - Plug@lists.nothinbut.net
http://lists.nothinbut.net/mail/listinfo/plug
|
|