HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: mail attachment in VMS mail utility
Operating System - OpenVMS
        1839868
        Members
    
    
        2070
        Online
    
    
        110156
        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
01-09-2009 06:04 AM
01-09-2009 06:04 AM
			
				
					
						
							mail attachment in VMS mail utility
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi 
I have sent an email with txt file attached to one of my vms machine email is successfully received at VMS end but I am not sure hot to extract the txt file attachment or how to save the attachment to my vms machine
Please help
Thanks
Bjay
		
		
	
	
	
I have sent an email with txt file attached to one of my vms machine email is successfully received at VMS end but I am not sure hot to extract the txt file attachment or how to save the attachment to my vms machine
Please help
Thanks
Bjay
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2009 06:33 AM
01-09-2009 06:33 AM
			
				
					
						
							Re: mail attachment in VMS mail utility
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Bjay,
use the MIME utility...
$ mime:==$MIME
$ mail
MAIL> READ ! read the mail
MAIL> EXTRACT/NOHEAD x.x
MAIL> EXIT
$ MIME x.x
MIME> LIST ! find attachment number
MIME> EXTRACT/ATT=n
MIME> EXIT
Volker.
		
		
	
	
	
use the MIME utility...
$ mime:==$MIME
MAIL> READ ! read the mail
MAIL> EXTRACT/NOHEAD x.x
MAIL> EXIT
$ MIME x.x
MIME> LIST ! find attachment number
MIME> EXTRACT/ATT=n
MIME> EXIT
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2009 07:13 AM
01-09-2009 07:13 AM
			
				
					
						
							Re: mail attachment in VMS mail utility
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Thank you Volker it worked and now I can use Attachments in VMS hurray!!!!
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2009 06:22 PM
01-11-2009 06:22 PM
			
				
					
						
							Re: mail attachment in VMS mail utility
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Just be careful with the attachment numbers. I wrote a script to process emails, and some of them have no attachment 1, although they do have attachment 2, 3, etc!! So if you automate the reading of the email and the extraction of the attachments, don't assume a failure to extract attachment 1 means there aren't any.
have fun,
PJ
		
		
	
	
	
have fun,
PJ
	Have fun,
Peejay
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If it can't be done with a VT220, who needs it?
			
			
				
			
			
			
			
			
			
		Peejay
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If it can't be done with a VT220, who needs it?
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
