Re: output from script into email

  • From: Steve Bradshaw <sjb1970@xxxxxxxxx>
  • To: Brian.Zelli@xxxxxxxxxxxxxxx
  • Date: Fri, 31 Jul 2015 20:26:31 +0100

Uuencode is used for attaching files.

If the ouput is from sqlplus its most likely tabs causing the problem-some
things treat them as 4 spaces, others 8.

There is an option to used spaces rather than tabs but I can't remember off
the top of my head.
On 31 Jul 2015 19:51, "Zelli, Brian" <Brian.Zelli@xxxxxxxxxxxxxxx> wrote:

I am sending myself a space report and it isn’t formatting very well. I
use:



mail -t "Mail Subject" myemailaddress < sp_used.txt



The sp_used.txt is the output of a script I run. How do I format it
better. I saw uuencode but can’t seem to use it correctly in my mail
statement.



Brian



This email message may contain legally privileged and/or confidential
information. If you are not the intended recipient(s), or the employee or
agent responsible for the delivery of this message to the intended
recipient(s), you are hereby notified that any disclosure, copying,
distribution, or use of this email message is prohibited. If you have
received this message in error, please notify the sender immediately by
e-mail and delete this email message from your computer. Thank you.

Other related posts: