[SunHELP] How do I e-mail from command line
Kurt Huhn
sunhelp at sunhelp.org
Fri Jun 29 06:32:16 CDT 2001
This is a multi-part message in MIME format.
------=_NextPart_000_0147_01C1006D.9F23E6D0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
How do I e-mail from command lineHaven't done this on a sparc in ages, I =
think mailx is the command. It should go something like
$ echo "your message" | mailx -s "message subject" user at domain.dom
Kurt
----- Original Message -----=20
From: MUHAMED, Mohd. Khairul=20
To: sunhelp=20
Sent: Friday, June 29, 2001 3:09 AM
Subject: [SunHELP] How do I e-mail from command line
Hi all,=20
It's been a long time since I last used the mail command. What's the =
correct way to mail a user using the mail command. I am running Solaris =
7
Thanks and Regards,=20
Khairul=20
------=_NextPart_000_0147_01C1006D.9F23E6D0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>How do I e-mail from command line</TITLE>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3103.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D"Courier New" size=3D2>Haven't done this on a sparc in =
ages, I=20
think mailx is the command. It should go something =
like</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>$ echo "your message" | mailx =
-s "message=20
subject" <A =
href=3D"mailto:user at domain.dom">user at domain.dom</A></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3D"Courier New" size=3D2>Kurt</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A href=3D"mailto:khairul_muhamed at astro.com.my"=20
title=3Dkhairul_muhamed at astro.com.my>MUHAMED, Mohd. Khairul</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
href=3D"mailto:sunhelp at sunhelp.org"=20
title=3Dsunhelp at sunhelp.org>sunhelp</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Friday, June 29, 2001 =
3:09 AM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [SunHELP] How do I =
e-mail from=20
command line</DIV>
<DIV><BR></DIV><BR>
<P><FONT face=3DArial size=3D2>Hi all,</FONT> </P>
<P><FONT face=3DArial size=3D2>It's been a long time since I last used =
the mail=20
command. What's the correct way to mail a user using the mail command. =
I am=20
running Solaris 7</FONT></P><BR><BR>
<P><FONT color=3D#000000 face=3DVerdana size=3D2>Thanks and</FONT> =
<FONT=20
color=3D#000000 face=3DTahoma size=3D2>Regards,</FONT> <BR><FONT =
color=3D#000000=20
face=3DTahoma size=3D2> Khairul</FONT>=20
</P></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0147_01C1006D.9F23E6D0--
More information about the SunHELP
mailing list