[plug] Using the mail command to send attachments

Anthony J. Breeds-Taurima tony at cantech.net.au
Wed Aug 23 11:52:39 WST 2000


On Wed, 23 Aug 2000, Bradley Browne wrote:

> I want to send a text file I am working on to my windows machine
> so that I can quickly print it off and review it.  I can't be
> bothered ftp'ing the file all the time, I would much rather be
> able to send it as an attachment in an email.  I need root access
> to get at the file and so I would like to use the mail command to
> send it.  Is this possible ?  I have had a look at the man page
> but from reading that it seems that this is not a feature that
> mail has.

mail -s 'The file' you at your.windowsbox </path/to/the.file

This will geneerate a message where the body is the text file you want to
print.  With a Subject of 'The File'

It's NOT an attachment BUT will save some hassles.

Yours Tony.

/*
 * "The significant problems we face cannot be solved at the 
 * same level of thinking we were at when we created them."
 * --Albert Einstein
 */




More information about the plug mailing list