[plug] Sending mail from command line

Daniel Pearson plug at flashware.net
Tue Jul 15 16:28:34 WST 2003


Yeh, when I used the command piped with another it seemed to not need ^D.

However, ifconfig | grep P-t-P | mail -s "ip address" my at mail.com seems to
provide no message in the body.

Regards,
Daniel

----- Original Message -----
From: "Cameron Patrick" <cameron at patrick.wattle.id.au>
To: <plug at plug.linux.org.au>
Sent: Tuesday, July 15, 2003 4:15 PM
Subject: Re: [plug] Sending mail from command line


> On Tue, Jul 15, 2003 at 04:10:01PM +0800, Daniel Pearson wrote:
>
> | However, i'm trying to send mail from the command line in one simple
> | command, without having to manually hit ctrl-d, etc.. does anyone know
of
> | how to do so with 'mail'?
>
> cat random_letter.txt | mail -s "Interesting subject"
recipient at example.net
>
> CP.
>
>
>

----- Original Message -----
From: "Cameron Patrick" <cameron at patrick.wattle.id.au>
To: <plug at plug.linux.org.au>
Sent: Tuesday, July 15, 2003 4:15 PM
Subject: Re: [plug] Sending mail from command line


> On Tue, Jul 15, 2003 at 04:10:01PM +0800, Daniel Pearson wrote:
>
> | However, i'm trying to send mail from the command line in one simple
> | command, without having to manually hit ctrl-d, etc.. does anyone know
of
> | how to do so with 'mail'?
>
> cat random_letter.txt | mail -s "Interesting subject"
recipient at example.net
>
> CP.
>
>
>



More information about the plug mailing list