Use mutt. command is
mutt [EMAIL PROTECTED] -c [EMAIL PROTECTED] -b [EMAIL PROTECTED] -a aaa.txt -s "test mail" < x using this command, To : [EMAIL PROTECTED] cc : [EMAIL PROTECTED] bcc : [EMAIL PROTECTED] attachment file : aaa.txt subject : test mail text of the body : x (S K Goel) > From: Rahul Kumar <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: [LIH]Sending mail(attachment) from shell script > Date: 07 Feb 2003 10:36:09 +0530 > > I need to send a mail with attachment from inside a shell script. From > whatever i have tried: > 1) "mail" does not allow attachment > 2) pine allows, but opens the user-interface. Cant find a way of > stopping it. > 3) same for mutt > 4) send - couldnt figure this one out. keeps asking for alias file and > giving errors. > > Help appreciated. Am on RH 7.x, using bash (not that this should > matter!). > -- > rahul. > > > ---- > ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
