- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- External Mail Attachment Shows as Inline Text Vers...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО08-08-2005 05:59 AM
тАО08-08-2005 05:59 AM
uuencode ${psfile} < ${psfile} > temp_file
mailx -r
When I check the yahoo account this is what I see:
begin 644 /homea/root/00091.ps
M)2%04RU!9&]B92TS+C`-"B4E5&ET;&4Z(`T*)25#
M9"D-"B4E4&%G97,Z("AA=&5N9"D-"B4E3W)I96YT871I;VXZ(%!O
I have also tried the -m for the mailx with no avail. Any suggestions appreciated and will be awarded points.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2005 06:04 AM
тАО08-08-2005 06:04 AM
Re: External Mail Attachment Shows as Inline Text Versus Attachment
uuencode filename filename | mailx -s "see attachment" user@domain.com
I know I have not changed any settings on my end as far as sendmail/mail goes. The relay server of my organization however, is a microsoft exchange server and gets patched and updated regularly. If you are in the same situation as well, contact your mail administrators to find a solution like they treat uuencoded text as attachments or they can give you some header strings to inject at the begiining of your uuenceded text.
I personally did not have time to do this myself. It is on my list but too low on the totem pole for the time being
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2005 07:06 AM
тАО08-08-2005 07:06 AM
Re: External Mail Attachment Shows as Inline Text Versus Attachment
uuencode myfile.jpg myfile.jpg > tempfile
cat tempfile | sendmail user@yahoo.com
is working for me. I am receiving it as an attachment instead of uuencoded garble.
the subject line can also be inserted before the uuencoded text but requires a little finess as follows:
echo "Subject: Hello attached world" > newtempfile
echo "Reply-to: mel@somedomain.com" >> newtempfile
echo " " >> newtempfile # this is header separator
cat tempfile >> newtempfile
cat newtempfile | sendmail user@yahoo.com
Hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2005 07:27 AM
тАО08-08-2005 07:27 AM
Re: External Mail Attachment Shows as Inline Text Versus Attachment
Thanks for your help. I tried both of these and still no dice. I am fairly certain that this has something to do with the Lotus Notes box that is relaying out to the Internet. No word from the admins that own the box in question.
I will keep posting with further updates on my end.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2005 07:36 AM
тАО08-08-2005 07:36 AM
Re: External Mail Attachment Shows as Inline Text Versus Attachment
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2005 07:40 AM
тАО08-08-2005 07:40 AM
Re: External Mail Attachment Shows as Inline Text Versus Attachment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2005 03:59 PM
тАО08-08-2005 03:59 PM
Re: External Mail Attachment Shows as Inline Text Versus Attachment
When u send mails using uuencode and mailx , it will not add any mime headers in ur mail regarding the attachment . But the sent mails will be readable in some mail clients like outlook , but not readable in yahoo , rediff etc. So for sending mails with mime attachments u need to have a mail sending program which should be mime compliant like 'mutt'. So install mutt and send attachments using mutt instead of mailx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2005 01:15 AM
тАО08-09-2005 01:15 AM
Re: External Mail Attachment Shows as Inline Text Versus Attachment
Also is there a way where I could just inject my own MIME header into the document to make it more email friendly?
Thanks again to everybody for the assistance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2005 02:47 AM
тАО08-09-2005 02:47 AM
Re: External Mail Attachment Shows as Inline Text Versus Attachment
http://mailformat.dan.info/headers/mime.html
or for all email headers:
http://mailformat.dan.info/headers
hope this helps.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2005 03:30 AM
тАО08-09-2005 03:30 AM
SolutionAs was mentioned you need to look at how the mail is handling with respect to MIME.
We send mail & all sorts of types of attachements and find using the [include] method works well (and cheaply) for us, since it required no further costs.
You can purchase 'mutt' or another third party software to handle this if you like or just.
Here is but one of the threads I recommend reading:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=198775
There are more..just search for MIME attachments
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2005 06:35 AM
тАО08-09-2005 06:35 AM
Re: External Mail Attachment Shows as Inline Text Versus Attachment
echo "[include 00091.ps application/postscript base64]" > temp_f
ile
uuencode ${psfile} ${psfile} >> temp_file
mailx -m -r me@whatever.com email@yahoo.com < temp_file
It now comes through to external mail accounts!