Discussion Locked

sending mail with attachments

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am looking for a command to sent an itemised bill as an attachment from the command prompton a Linux(Debian Box). I understand I am supposed to use sendmail but with which options which will make my file with the itemised bill go as an attachment probably as a text file?
Any suggestions are welcome

1 reply

by jpramlak

Try using uuencode on your file and then feeding it through mail or mailx via a pipe.

This discussion is closed to new replies.