[rhn-users] What is the simplest way to use command line (mail orsendmail) with an attachment?

Howard, Chris HowardC at prpa.org
Wed Mar 29 23:22:10 UTC 2006


One way to do it:
 
uuencode filename.txt  filename.txt | mailx -s"here is that file"  otherguy at mail.address
 
 
Most email clients will show filename.txt as an attachment.
 
Chris
 

-----Original Message-----
From: rhn-users-bounces at redhat.com [mailto:rhn-users-bounces at redhat.com]On Behalf Of Bill Watson
Sent: Wednesday, March 29, 2006 4:07 PM
To: 'Red Hat Network Users List'
Subject: [rhn-users] What is the simplest way to use command line (mail orsendmail) with an attachment?


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.
 
Is there a tool laying around that can properly package an email attachment onto an email and send it via a command line protocol?
 
Thanks in advance!
Bill Watson
bill at magicdigits.com
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhn-users/attachments/20060329/962e639c/attachment.htm>


More information about the rhn-users mailing list