- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- MIME encoded JPEG attachment not viewable after se...
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
тАО02-03-2010 01:27 PM
тАО02-03-2010 01:27 PM
MIME v1.7
Summary:
Am trying to send a MIME encoded JPEG attachment via VMSMail to an MS-Outlook email account. The message arrives with the attachment intact. But clicking on the attachment only brings up Windows Picture Viewer with the message "No Preview Available"
Details:
Creation of MIME encoded JPEG
$MIME
NEW TEST.TXT
ADD AAA.JPG
SAVE
EXIT
Sending via VMSMail
$MAIL TEST.TXT "dherron@mymail.com"
The one clue I have is how VMS MIME encodes the JPEG vs how Outlook encodes the JPEG (I tried sending the JPEG from an Outlook account to an Outlook account and it works fine.)
The encoding of the JPEG via VMS MIME creates
the exact same stream of encoded characters as does the encoding via Outlook, BUT the VMS MIME encoding is 72 characters per line, the Outlook encoding is 76 characters per line.
So, I pulled a switcheroo and took the Outlook encoding and put it into TEST.TXT in place of the VMS MIME encoding, sent the file via VMSMail and BINGO the attachment was viewable in Windows picture viewer when I clicked on it!
Does this ring a bell with anyone?
Any suggestions how to get the VMS MIME encoding to work correctly?
Thanks for your help,
Dan Herron
Solved! Go to Solution.
- Tags:
- attachments
- mime
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2010 02:15 PM
тАО02-03-2010 02:15 PM
SolutionThis is probably an issue with the attributes of the original (JPG) file.
How does the JPG get to OpenVMS and from where?
What are the record attributes?
How do the mime headers differ from a working file?
Your VMS version is very old (way too old! What are you doing on -1?) Do you have the latest MIME patch.
I've been able to get MIME to work in the past. It tends to be a bit fiddly, making sure the files don't get clobbered along the way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2010 08:39 PM
тАО02-03-2010 08:39 PM
Re: MIME encoded JPEG attachment not viewable after sending via VMSMail
> What are the record attributes?
And can a Web browser running on the VMS
system display the thing?
> [...] characters per line [...]
Shouldn't matter. Uuencode was more
consistent in characters/line than more
modern base64 programs.
It might be comforting to verify that your
MIME program can extract the original data
from its own pile o' MIME, but that's not
much help if the original file is junk.
I've been trying hard never to learn how to
send MIME attachments using VMS MAIL, but I
thought that one needed to use the SFF scheme
to do it (properly -- no extra blank line,
or some such annoyance). On the other hand,
if your e-mail client is able to identify
the attachments, then it may not matter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2010 11:37 PM
тАО02-03-2010 11:37 PM
Re: MIME encoded JPEG attachment not viewable after sending via VMSMail
Not sure what the default is, but ADD/BINARY jpeg-file may change the encoding.
And to do a favour to the recipient, add the miome-type, so it will be image/jpg instead of just binary.
Best to add the mime-type to
SYS$COMMON:[SYSMGR]MIME$FILETYPES.DAT
like
# JPG
jpg, image/jpg, Base64
jpeg, image/jpg, Base64
gif, image/gif, Base64
png, image/png, Base64
#
pdf, application/pdf, Base64
#
# CDA Viewer/Ghostscript
ddif, application/ddif, Base64
eps, application/ps, Base64
ps, application/ps, Base64
ps-gz, application/ps, Base64
ps_z, application/ps, Base64
# compression,archive
gz, encoding/x-gzip, Base64
z, encoding/x-compress, Base64
zip, application/x-zip-compressed, Base64
tar-gz, encoding/x-gtar, Base64
tgz, encoding/x-gtar, Base64
gtar, application/x-gtar, Base64
tar, application/x-tar, Base64
Then You can omit the /BINARY for the files listed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2010 11:59 PM
тАО02-03-2010 11:59 PM
Re: MIME encoded JPEG attachment not viewable after sending via VMSMail
MIME 1.8 is available for VMS 7.3-1
Should be in one of the patches, check wether your system has all relevant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2010 12:59 PM
тАО02-04-2010 12:59 PM
Re: MIME encoded JPEG attachment not viewable after sending via VMSMail
Thanks for all your help.
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2011 12:47 AM
тАО06-17-2011 12:47 AM
Re: MIME encoded JPEG attachment not viewable after sending via VMSMail
I have the same problem. Could you describe the detailed solution.
Thank you!