<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1528" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=558192123-29032006><FONT face=Arial color=#0000ff size=2>One 
way to do it:</FONT></SPAN></DIV>
<DIV><SPAN class=558192123-29032006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=558192123-29032006><FONT face=Arial color=#0000ff 
size=2>uuencode filename.txt  filename.txt | mailx -s"here is that 
file"  <A 
href="mailto:otherguy@mail.address">otherguy@mail.address</A></FONT></SPAN></DIV>
<DIV><SPAN class=558192123-29032006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=558192123-29032006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=558192123-29032006><FONT face=Arial color=#0000ff size=2>Most 
email clients will show filename.txt as an attachment.</FONT></SPAN></DIV>
<DIV><SPAN class=558192123-29032006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=558192123-29032006><FONT face=Arial color=#0000ff 
size=2>Chris</FONT></SPAN></DIV>
<DIV><SPAN class=558192123-29032006></SPAN> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> rhn-users-bounces@redhat.com 
  [mailto:rhn-users-bounces@redhat.com]<B>On Behalf Of </B>Bill 
  Watson<BR><B>Sent:</B> Wednesday, March 29, 2006 4:07 PM<BR><B>To:</B> 'Red 
  Hat Network Users List'<BR><B>Subject:</B> [rhn-users] What is the simplest 
  way to use command line (mail orsendmail) with an 
  attachment?<BR><BR></FONT></DIV>
  <DIV><SPAN class=984525922-29032006><FONT face=Tahoma color=#0000ff size=4>I 
  have read the sendmail documents that I could find and can only conclude that 
  I am clueless or that attachments on emails are beyond 
  diffilcult.</FONT></SPAN></DIV>
  <DIV><SPAN class=984525922-29032006><FONT face=Tahoma color=#0000ff 
  size=4></FONT></SPAN> </DIV>
  <DIV><SPAN class=984525922-29032006><FONT face=Tahoma color=#0000ff size=4>Is 
  there a tool laying around that can properly package an email attachment onto 
  an email and send it via a command line protocol?</FONT></SPAN></DIV>
  <DIV><SPAN class=984525922-29032006><FONT face=Tahoma color=#0000ff 
  size=4></FONT></SPAN> </DIV>
  <DIV><SPAN class=984525922-29032006><FONT face=Tahoma color=#0000ff 
  size=4>Thanks in advance!</FONT></SPAN></DIV>
  <DIV><SPAN class=984525922-29032006><FONT face=Tahoma color=#0000ff 
  size=4>Bill Watson</FONT></SPAN></DIV>
  <DIV><SPAN class=984525922-29032006><FONT face=Tahoma color=#0000ff size=4><A 
  href="mailto:bill@magicdigits.com">bill@magicdigits.com</A></FONT></SPAN></DIV>
  <DIV><SPAN class=984525922-29032006><FONT face=Tahoma color=#0000ff 
  size=4></FONT></SPAN> </DIV></BLOCKQUOTE></BODY></HTML>