On 12/19/2011 11:20 PM, Omer Zak wrote:

The problem:
How to actually send the file?
If I use my regular E-mail client (Evolution), and attach the bug report
to my message, Debian BTS does not accept it.
I have also mutt and bsd-mailx installed but I don't know if and how to
use them to send the file.

Greetings, Omer , I probably misunderstood your question, but just in case I didn't :) - and all you're looking for is to paste the contents of a
txt file to a mutt email, here is what I use.

In the below 1st example, The content of : /$PATH/$TO/$FILE/ will be pasted as the Email message. the -a option is ... optional.

mutt -s $SUBJECT $RECIPIENT < /$PATH/$TO/$FILE/$WHICH/$WILL -a /$Path/$To/$AttachmentFile

in more specific terms :
 
mutt -s f...@bar.com < /etc/network/interfaces -a /etc/network/mynetwork_interfaces.txt 

HTH,

Guy
_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to