[ilugd] how to send attactments from command line
hi all i want to send my message as an attachment using command line. right now i'm using mail command to send messages but not able to send messages as attachment using that command. i searched on net, found out two answers 1. i must convert my message into uuencode first, but i don't know what is uuencode. 2. using mutt or pine. please provide the full command with example i'll appreciate your initiation of any kind regarding above problem. thanking you sandeep - Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online ___ ilugd mailing list [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd
Re: [ilugd] how to send attactments from command line
On Tue, 2004-02-10 at 16:42, s nagar wrote: hi all i want to send my message as an attachment using command line. right now i'm using mail command to send messages but not able to send messages as attachment using that command. i searched on net, found out two answers 1. i must convert my message into uuencode first, but i don't know what is uuencode. 2. using mutt or pine. please provide the full command with example i'll appreciate your initiation of any kind regarding above problem. Did you ask Google I see that you say you did. So here is a link from google itself. URL may be wrapped. http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=Command+line+sending+of+mail+attachmentsbtnG=Google+Search The first link in the search results takes you here. http://www.shelldorado.com/articles/mailattachments.html The link has addressed both how to use uuencode and also attach command line through mutt. Pine you gotta ask google again OR HINT HINT man pine search for attach. You can search using the forward slash. -- Arindam Dey The mind is not a vessel to be filled but a fire to be kindled. GPG FPR: B8E3 219E F129 F970 F4A7 BC50 9636 504A BEDF 5739 ___ ilugd mailing list [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd
Re: [ilugd] how to send attactments from command line
cat filename | mutt -a filetobeattached.zip -s subject here `date` [EMAIL PROTECTED] --- s nagar [EMAIL PROTECTED] wrote: hi all i want to send my message as an attachment using command line. right now i'm using mail command to send messages but not able to send messages as attachment using that command. i searched on net, found out two answers 1. i must convert my message into uuencode first, but i don't know what is uuencode. 2. using mutt or pine. please provide the full command with example i'll appreciate your initiation of any kind regarding above problem. thanking you sandeep - Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online ___ ilugd mailing list [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd __ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html ___ ilugd mailing list [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd
Re: [ilugd] how to send attactments from command line
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, Don't know about mutt or pine but made a shell script for mail. - START #!/bin/bash echo Please enter the name of the attachment read filename echo Please enter the name of the file containing your message read message echo Please enter the email address of the reciever read mailto echo Please enter the subject read subject uuencode $filename $filename.uue $filename.uue cat $message $filename\.uue | mail $mailto -s $subject - END Your message has to be in a file. The attachment has to be decoded manually (by uudecode) AFAIK. Regards, Arjun On Tuesday 10 February 2004 14:12, you wrote: hi all i want to send my message as an attachment using command line. right now i'm using mail command to send messages but not able to send messages as attachment using that command. i searched on net, found out two answers 1. i must convert my message into uuencode first, but i don't know what is uuencode. 2. using mutt or pine. please provide the full command with example i'll appreciate your initiation of any kind regarding above problem. thanking you sandeep - Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online ___ ilugd mailing list [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQFAKNbJ9mAtgws7e1wRAsZuAJ9u7f274VGNnV1rFNOx0uhn0gImGwCfa3AA ef59J+vuIpKPUB7SMUYqT2Y= =7XhO -END PGP SIGNATURE- ___ ilugd mailing list [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd
Re: [ilugd] how to send attactments from command line
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 10 February 2004 18:34, you wrote: Hello, Don't know about mutt or pine but made a shell script for mail. START #!/bin/bash echo Please enter the name of the attachment read filename echo Please enter the name of the file containing your message read message echo Please enter the email address of the reciever read mailto echo Please enter the subject read subject uuencode $filename $filename.uue $filename.uue ^^^ Woops! That should be $filename cat $message $filename\.uue | mail $mailto -s $subject END Your message has to be in a file. The attachment has to be decoded manually (by uudecode) AFAIK. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQFAKNmX9mAtgws7e1wRAm3HAJ9mJ8ABqu0SWFwiAngrxlrwah0jkQCfeHnX 8QrylYVoi58vV9YECCWXY9s= =S59/ -END PGP SIGNATURE- ___ ilugd mailing list [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd