- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: send a file as attachment in OpenVMS mail
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
Forums
Discussions
Discussions
Discussions
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
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-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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2019 08:02 AM
02-08-2019 08:02 AM
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