HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Convert Incoming Mail question/problem
Operating System - HP-UX
1833005
Members
3138
Online
110048
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2003 07:20 AM
10-08-2003 07:20 AM
Convert Incoming Mail question/problem
I have an application that mails out a report that is a graphic etc. When it mails to outlook etc. Everything looks great (.rtf format). I also had an email address sent to a unix server mailbox. PROBLEM: How do I convert this file back to binary/html or anything readable on my unix server (I have samba set up, and also a web-site on my unix server. I want report available via web-page and samba). The stuff comes like it's uuencoded (But I can't find a way to unencode it) with headers declaring it's an .rtf file. Does anyone know of any utility that can decode it back to some non-mailable format ?
I searched the internet, but the keywords I'm using are brining up too many misleading hits. Thanking you in advance.
I searched the internet, but the keywords I'm using are brining up too many misleading hits. Thanking you in advance.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2003 07:55 AM
10-08-2003 07:55 AM
Re: Convert Incoming Mail question/problem
You are not clear if the application runs in windows or HP-UX.
If it runs in HP-UX you can attach any file using the code in the script I'm attaching. This script requires minor modification, but it eliminates the need to uuencode the document.
This post is uselss if we're talking about a windows app.
There are some known problems with certain smtp relay servers that reject or mess up document attachments. If you use smtp relay and its symantec, make sure the smtp relay box is fully patched. Because of this issue I once wrote a perfectly good script(mailfile). It took four months to get it to production because the relay server messed it up.
SEP
If it runs in HP-UX you can attach any file using the code in the script I'm attaching. This script requires minor modification, but it eliminates the need to uuencode the document.
This post is uselss if we're talking about a windows app.
There are some known problems with certain smtp relay servers that reject or mess up document attachments. If you use smtp relay and its symantec, make sure the smtp relay box is fully patched. Because of this issue I once wrote a perfectly good script(mailfile). It took four months to get it to production because the relay server messed it up.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2003 09:12 AM
10-08-2003 09:12 AM
Re: Convert Incoming Mail question/problem
Thanks for the answer, I think I phrased my question badly. I'll try to do a better job.
There is a 3rd party application running on a Sun solaris box that counts web page hits and a feature of this package is to email out results in rich text format (it has a graph).
I setup 2 email destinations, one is to me personally to my outlook exchange server (I use outlook to view it and everything looks great).
The other destination is to a unix account on an HPUX 11 server. The email comes into the mailbox and has mime type headers for a .rtf file (and looks like it was uuencoded - but it wasn't). I want to write a program or find a utility to convert this data back into the .rtf format (binary file instead of text file) so I can post it on a web page or put it in my samba tree for viewing.
There is a 3rd party application running on a Sun solaris box that counts web page hits and a feature of this package is to email out results in rich text format (it has a graph).
I setup 2 email destinations, one is to me personally to my outlook exchange server (I use outlook to view it and everything looks great).
The other destination is to a unix account on an HPUX 11 server. The email comes into the mailbox and has mime type headers for a .rtf file (and looks like it was uuencoded - but it wasn't). I want to write a program or find a utility to convert this data back into the .rtf format (binary file instead of text file) so I can post it on a web page or put it in my samba tree for viewing.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP