bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: uuencode is not working properly


From: Bob Proulx
Subject: Re: uuencode is not working properly
Date: Wed, 22 Jan 2014 11:31:06 -0700
User-agent: Mutt/1.5.21 (2010-09-15)

Petr Pisar wrote:
> Paturi, Sivakumar wrote:
> > uuencode power_numbers_dc.tcl power_numbers_dc.tcl | mail c_spatur
> >
> > I  received mail , but the file was not attached to the email, it was
> > copied as text in the email  and it was not readable formate.
>
> This not an issue with uuencode. The problem is in the `mail' tool. It
> used to send such input as an attachment. Now it sends it in the body.
> And that's how it should behave.

I don't recall any of the mail programs ever sending stdin as an
attachment.  The mailx command is a very old one and predates the MIME
standards.  Certainly the current behavior of putting stdin into the
body of the message is correct regardless.

> Read manual for your mail(1) to get know how to send attachments. E.g.
> if your mail comes from mailx, you can use `-a' option.

In mailx the -a option usually specifies additional headers.  (At
least in the BSD version.)  However that option isn't standardized.
Other versions may do something different.

  http://pubs.opengroup.org/onlinepubs/009695399/utilities/mailx.html

Bob



reply via email to

[Prev in Thread] Current Thread [Next in Thread]