At 07:42 PM 10/30/02 +0100, you wrote:
>On Wed, Oct 30, 2002 at 01:10:21PM -0500, Reuben D. Budiardja wrote:
>>
>> Is there anyway to send e-mail with attachment from command line? the command 
>> "mail" doesn't seem to have attachment capability.

mail [EMAIL PROTECTED] -s "some stuff" < attach_file.txt

It doesn't really "attach" it includes it in the body.
you can also do ~r attach_file.txt
in interactive mode. see the man mail page

>The command "mutt" does.
>
>echo "text in the body of the mail" | mutt -a filename.txt [EMAIL PROTECTED]
>
>will send a mail containing filename.txt (and a little message) to that
>address.



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to