Path: csiph.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!news.glorb.com!usenet.stanford.edu!not-for-mail From: srihari D Newsgroups: gnu.utils.bug Subject: Re: uuencode (GNU sharutils) 4.7 Date: Tue, 23 Feb 2016 14:23:43 -0600 Lines: 42 Approved: bug-gnu-utils@gnu.org Message-ID: References: <20160222213511357322643@bob.proulx.com> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: usenet.stanford.edu 1456259029 9054 208.118.235.17 (23 Feb 2016 20:23:49 GMT) X-Complaints-To: action@cs.stanford.edu To: srihari D , bug-gnu-utils@gnu.org Envelope-to: bug-gnu-utils@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=xlFpJULCGAjxRGtSDamd+AHV27GMiGbNuQh6UPSncSA=; b=l9TFDEKIgErS08dFehdNOpywhv5jBwUuUPrlUoE5BN/wp0IDB1V/OQeynsf2nfcDav xAmJQLIMeKaoCLef+4v179R7nrYqF6Df8EYx1oISbzMlCuD3gT7VijMBT5Oh3RymgxAM PRkprJl/jxVz3NO9ycaYs8OWXT9w5lsu0LkJ5Ox14CCOqtNWI58ryGqj+r31HZ/5MvU7 Tn58ji15QLz1ZBIhdmQStu9+3N/6TBY/epz/8wIdHn8j/Esj0nabNfx7x4qSGZzxAYPX s0H8fGh8pvpfxz3ZHVfrIy8oli4VcCJrMCoMOiFWMxEEEihOL8tSaASiuHw37/05ba1/ lxSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=xlFpJULCGAjxRGtSDamd+AHV27GMiGbNuQh6UPSncSA=; b=hOQEXzcsb6Gvq3cdQMwgHp/Nx+z7RdJpVyM6JiB65xXxUjjzFLz8dfhTLNOwky7pik 1uLi0FrRRR8S914D7vP6RX+jXhdfCjiNejPfg5zOJ+ubEYmWRp5ddNO1XytNaAGb+KOV 2y0kII2kffT4zDccshOndTbpBujvBTfYRpY200Lno25Wj5VYXo+owCsEwdN8P9sdXmot JBztzXIqx2FtSxH6EfjRvnm7YJaefYIuJbQn6MpryKDbw28eEgOTveKwV0DjtYCffu64 WdBORq3aAI7tJbbAcLcm6Ef9EQVim4N6p4cdUU8c5y+MvCJhfm1WG2DzRuu6O8T8RegU etOw== X-Gm-Message-State: AG10YOQw2XLchnsn4Z6TYwUy2i210v4JPEVcI5x/bzI+KA57ZgSiP81zPlNDigCE+pXu2n3kAgqR8fkxUmQyNg== X-Received: by 10.28.57.68 with SMTP id g65mr21201764wma.56.1456259023687; Tue, 23 Feb 2016 12:23:43 -0800 (PST) In-Reply-To: <20160222213511357322643@bob.proulx.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::236 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: bug-gnu-utils@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports for the GNU utilities List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com gnu.utils.bug:2196 Okay thanks for your email, Actually we use the same syntax to attach and send emails on our AIX server, it was doing the same. So thought it will do the same on RHEL server as well, Syntax on AIX: uuencode file.txt file.txt|mail haridusi.us@gmail.com above used to send emails with file.txt as attachment. On Mon, Feb 22, 2016 at 10:43 PM, Bob Proulx wrote: > srihari D wrote: > > We are experiencing issues with uuencode, we wanted to send files as > > attachments by using uuencode, but it's displaying the contents of file > as > > body of the email. Below is the syntax being used, please help me on this > > issue. > > > > uuencode myfile.txt Display_name.txt|mail haridusi.us@gmail.com > > The above does not "attach" the file to the email. The above inserts > the output of uuencode into the body of the message. There is no > attachment in the above. > > In the above uuencode is working as it has been designed to work. All > is correct. > > These days you probably should want to use MIME attachments instead of > uuencode. I am not saying anything bad about uuencode. It does > exactly what it does and the command is still needed in order to > access uuencoded files. But these days MIME attachments are generally > the prefered method. > > I hesitate to suggest a way to do attachments because it depends so > much upon your environment. But 'mutt' handles attachments well. > > echo Attached is the myfile.txt file | > mutt -s "subject line here" -a myfile.txt -- haridusi.us@gmail.com > > Bob >