- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - OpenVMS
- >
- send a file as attachment in OpenVMS mail
-
- Forums
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- OEM Solutions
- Servers: The Right Compute
- Shifting to Software-Defined
- Telecom IQ
- Transforming IT
- Infrastructure Solutions German
- L’Avenir de l’IT
- IT e Trasformazione Digitale
- Enterprise Topics
- ИТ для нового стиля бизнеса
- Blogs
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Forums
-
Blogs
-
InformationEnglish
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-24-2007 06:16 AM
08-24-2007 06:16 AM
I use OpenVMS MAIL utility to send a file to an Internet email user, but I cannot send the file as an attachment.
Does anybody know what is the right DCL command to send a file as attachment using OpenVMS mail utility?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-24-2007 06:22 AM
08-24-2007 06:22 AM
Re: send a file as attachment in OpenVMS mail
Issue the command MIME or MCR MIME on you system and see if it prompts "MIME> "
Now type "Show version" and "Help overview"
Google "openvms mime" and/or faq for details.
hth,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-24-2007 06:28 AM
08-24-2007 06:28 AM
Re: send a file as attachment in OpenVMS mail
MAIL> mail
It doesn't attach the file, it inserts the file contents as the body of the mail message. (Obviously only works with text files.
Dave.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-24-2007 06:42 AM
08-24-2007 06:42 AM
SolutionYou can use the MAIL> SEND/FOREIGN mechanism to send a primitive form of an attachment, if you have DECnet Phase IV or DECnet-Plus end-to-end. This doesn't work if you connect through SMTP or other mail transports.
You can use the MIME utility to roll your own MIME-encoded message from DCL, and then SEND the message.
Or you can use the Mozilla Suite and its mail utility or any of various other email clients that have integrated MIME support within the tool. There are various options here. PINE and PMDF mail come to mind, though there are most certainly some other options around.
The OpenVMS FAQ (http://www.hoffmanlabs.com/vmsfaq) has a section entitled "How do I send or read attachments in VMS MAIL?" which has some related details here. There's a PDF and a text-format copy of the FAQ available for download, and these can be quickly searched for various keywords.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-24-2007 07:30 AM
08-24-2007 07:30 AM
Re: send a file as attachment in OpenVMS mail
a DCL script to achieve this can be found at
http://dcl.openvms.org/stories.php?story=04/09/22/8507303
hth
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-26-2007 10:42 AM
08-26-2007 10:42 AM
Re: send a file as attachment in OpenVMS mail
Wim
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-27-2007 05:03 AM
08-27-2007 05:03 AM
Re: send a file as attachment in OpenVMS mail
mail filename.txt /subj="Some subject line so I know it" smtp%"myemail@company.com"
But when I have to send zip files as attachments I use the uuencode first.
uuencode filename.zip filename.uue
UUENCODE == "$SYS$SYSTEM:TCPIP$UUENCODE.EXE"
Then I email that file
mail filename.uue /subj="Some subject line so I know it" smtp%"myemail@company.com"
This gets the .zip file across to my email application as an attachment.
I believe that the uuencode is part of the TCPIP stack. Its also on the freeware CD as UUCODE - but I am not familiar with the freeware one.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
a week ago
a week ago
Re: send a file as attachment in OpenVMS mail
Hello Jan Van,
I have seen your answer for question "How to send attachment in email using openvms script" with this link
http://dcl.openvms.org/stories.php?story=04/09/22/8507303
I am unable to open that link.
Could you please let me know the dcl commands for sending attachments in email using openvms script? And also please let me know the pre-requisite to send attachment through openvms script. (Something like MIME is mandatory)
Thank you
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2019 Hewlett Packard Enterprise Development LP