Try doing: echo "This is a message" | mail [EMAIL PROTECTED] That'll work if he's got an SMTP-t installed. If you want to make sure it always works, install your own SMTP-t and do: echo "This is a message" | mail [EMAIL PROTECTED]
Hope that helped, Dave Cohen <[EMAIL PROTECTED]> Bob Bingham wrote: > > This is a multi-part message in MIME format. > > ------=_NextPart_000_0004_01C2119D.4C1CF8E0 > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: 7bit > > Is it possible to send a message to a online user via command line? For > example > #echo "This is the message" | sendito jabber.mylocalserver.com > This would be sent from another (unix) system on the LAN. It could also be > a script on this other system rather than command line. It would also be a > one-way conversation with no reply expected, jsut a pop up message. > > TIA > > Bob Bingham > > ------=_NextPart_000_0004_01C2119D.4C1CF8E0 > Content-Type: text/html; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> > <HTML> > <HEAD> > <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = > charset=3DWindows-1252"> > <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = > 6.0.4417.0"> > <TITLE>Command Line Interface</TITLE> > </HEAD> > <BODY> > <!-- Converted from text/rtf format --> > > <P><FONT SIZE=3D2 FACE=3D"Arial">Is it possible to send a message to a = > online user via command line? For example</FONT> > > <BR><FONT SIZE=3D2 FACE=3D"Arial">#echo "This is the message" = > | sendito jabber.mylocalserver.com</FONT> > > <BR><FONT SIZE=3D2 FACE=3D"Arial">This would be sent from another (unix) = > system on the LAN. It could also be a script on this other system = > rather than command line. It would also be a one-way conversation = > with no reply expected, jsut a pop up message.</FONT></P> > > <P><FONT SIZE=3D2 FACE=3D"Arial">TIA</FONT> > </P> > > <P><FONT SIZE=3D2 FACE=3D"Arial">Bob Bingham</FONT> > </P> > > </BODY> > </HTML> > ------=_NextPart_000_0004_01C2119D.4C1CF8E0-- > > _______________________________________________ > jdev mailing list > [EMAIL PROTECTED] > http://mailman.jabber.org/listinfo/jdev > _______________________________________________ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
