Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Email attachments file....?

Status
Not open for further replies.

bgreen

Programmer
Feb 20, 2003
185
CA
Hi all,

I am sending some output from Oracle Apps's to a user as an attachment. Here is the problem.

When I ftp the output to my desktop it looks fine. But, when I use code to send it as an attachment the format is all out.

code:

uuencode /ora_common/ACCPT/out/o452681.out TEST.txt | mailx -s "TEST EMAIL" bg@test.ca

are there any suggestions out there to help keep the format of my output when sent as an attachment?
 
Do you have "mpack" available on your system? I would suggest trying that instead to send attachments. If not, it is a free download for most OS's.

IBM Certified Confused - MQSeries
IBM Certified Flabbergasted - AIX 5 pSeries System Administration
MS Certified Windblows Rebooter
 
you may need to translate it from unix format to dos format before uuencoding it. ftp will do this automatically if you are transferring in ascii mode.
Depending on your flavor of unix there are different tools for doing this.

unix2dos
xtod
etc....
 
Thanks all. I found a tool that converts txt to pdf. This worked. (ascii2pdf)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top