"Thus spake Dick"
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Anyone out there know:
> 1. Is there a single command line command that can send mail to an email
> address denoted in the "dot" notation.  ie.  would like to send a command
> line like this:
> 
> mail -s "my ppp address is xxx.xxx.xxx.xxx" -u [EMAIL PROTECTED]

The mailx program, included with many distributions of Linux will do exactly
this.  It accepts the message body via stdin.  A typical usage would be...

mailx -s"My article on linux" [EMAIL PROTECTED] < linuxarticle.txt

As far as dotted address notation is concerned, the use of an IP address in
an Internet email address is legal and is considered standard usage as long
as the IP address is in square brackets.  You could, for instance, send
email to me at fmouse@[204.251.174.189].

See the man page for mailx for more information. 

-- 
Lindsay Haisley       | "Everything works    |     PGP public key
FMP Computer Services |       if you let it" |      available at
[EMAIL PROTECTED]        |    (The Roadie)      | <http://www.fmp.com/fmpkey>
http://www.fmp.com    |                      |
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]

Reply via email to