You can use the mailto command. You can also script it like so:
mailto <<! [EMAIL PROTECTED] subject ~* 0 /path/to/file attachment ~. ! Voila!!! On Fri, 22 Nov 2002, Richard Tricoche wrote: > Can anyone please help me with how to send an attachment in an email from a > linux machine? > > I know there is a way to do this from the command line... Something like: > > mail -s "here is the mail log file" [EMAIL PROTECTED] < maillog.log > > Or > > cat maillog.log | mail -s "yet another attempt" [EMAIL PROTECTED] > > I even tried doing: > uuencode maillog.log maillog.log |mail -s "here is my maillog file" > [EMAIL PROTECTED] > > But none of them seem successful. :( > > Any help is appreciated! > -- Mike Burger http://www.bubbanfriends.org Visit the Dog Pound II BBS telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
