Re: How to send zip file as the attachment in OpenVMS? (718 Views)
Reply
Occasional Contributor
Posts: 4
Registered: ‎12-26-2011
Message 1 of 5 (828 Views)

How to send zip file as the attachment in OpenVMS?

Hi All,

 

I followed this article http://h30499.www3.hp.com/t5/General/send-a-file-as-attachment-in-OpenVMS-mail/m-p/4060128#M13229 and the command:

$ MAIL/Foreign/SUBJECT="Test Attachment." AAA.ZIP "@AGENCIES.DIS",

Also tried this:

$ MAIL/SUBJECT="Test Attachment."/FOR/TYPE=1 AAA.ZIP "@AGENCIES.DIS",

the problem is:

 

the email can be received, but the zip file, just shown on the email body as messy code, how to fix it?

 

Thanks,

Honored Contributor
Posts: 9,121
Registered: ‎02-23-2005
Message 2 of 5 (810 Views)

Re: How to send zip file as the attachment in OpenVMS?

Honored Contributor
Posts: 5,003
Registered: ‎01-29-2006
Message 3 of 5 (769 Views)

Re: How to send zip file as the attachment in OpenVMS?

The top Google hits for /openvms mail mime encoding/ is here.  A complete DCL example, and coincidentlally for sending a zip archive.

 

Regular Advisor
Posts: 105
Registered: ‎10-31-2001
Message 4 of 5 (750 Views)

Re: How to send zip file as the attachment in OpenVMS?

We have had excellent luck with a DCL procedure called 'sendmail' by Jerry Alan Braga.  As long as you are using HP TCPIP Services it will work as is; other stacks will require some tweaks.

 

Here (openvms.org)

Valued Contributor
Posts: 198
Registered: ‎10-29-2010
Message 5 of 5 (718 Views)

Re: How to send zip file as the attachment in OpenVMS?

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.