- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Sending thru VMS [SMTP] mail as an attachment?
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
05-04-2006 09:01 AM
05-04-2006 09:01 AM
Sending thru VMS [SMTP] mail as an attachment?
This works on a Multinet[v4.4]Vms[7.3-2]:
Mail/Sub="test"/type=1/for file.txt "z@z.com"
[/type=1/for are undocumented]
But does not work on a VMS 7.3-2 using TCPIP 5.4 ECO 5 system [file shows up in the message body].
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2006 01:13 PM
05-04-2006 01:13 PM
Re: Sending thru VMS [SMTP] mail as an attachment?
Two supported methods:
Use the MIME utility to create a mime encoded file containing your attachments then send the file using a normal MAIL command. (Make sure you have the latest MIME patch).
Use the SMTP_SFF utility to send your mime encoded file - see documentation:
HP TCP/IP Services for OpenVMS User's Guide
Section 5.9 SMTP SFF (Send From File)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2006 01:15 PM
05-04-2006 01:15 PM
Re: Sending thru VMS [SMTP] mail as an attachment?
http://h71000.www7.hp.com/wizard/wiz_4492.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2006 05:23 PM
05-04-2006 05:23 PM
Re: Sending thru VMS [SMTP] mail as an attachment?
Example-C,C++ SMTP Mail Message Sender With MIME File Attachments
http://h18000.www1.hp.com/support/asktima/communications/009F15E8-A8CE0B38-1C02A1.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2006 05:41 PM
05-04-2006 05:41 PM
Re: Sending thru VMS [SMTP] mail as an attachment?
This script allows one to send MIME or SMTP messages and allows files to be attached.
A direct link to the script:
http://dcl.openvms.org/stories.php?story=04/09/22/8507303
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 09:06 AM
05-09-2006 09:06 AM
Re: Sending thru VMS [SMTP] mail as an attachment?
The DCL program [Sendmail.com] is buggy.
Am I missing something? Thanks for all the suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 05:38 PM
05-09-2006 05:38 PM
Re: Sending thru VMS [SMTP] mail as an attachment?
why not use MIME ?
$ MIME:==$SYS$SYSTEM:MIME.EXE
$ MIME
MIME> NEW/NOEDIT file.tmp
MIME> ADD/BIN file.GZIP
MIME> SAVE
$
$ MAIL file.tmp "z@z.com"/SUBJ="Mail with attachment"
MIME is a supported OpenVMS utility.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 06:20 PM
05-09-2006 06:20 PM
Re: Sending thru VMS [SMTP] mail as an attachment?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2006 05:41 AM
05-10-2006 05:41 AM
Re: Sending thru VMS [SMTP] mail as an attachment?
This may be due to some other issue. Sigh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2006 05:51 AM
05-10-2006 05:51 AM
Re: Sending thru VMS [SMTP] mail as an attachment?
for testing, you can also send this mail to your OpenVMS account:
$ MAIL file.tmp username/SUBJ="Mail with attachment"
Then read and extract the new mail:
MAIL> READ/NEW
MAIL> EXTRACT/NOHEAD x.x
MAIL> EXIT
$ MIME x.x
MIME> LIST
MIME> EXTRACT/ATTACHMENT=n
MIME> EXIT
This will extract your GZIP file from the mail. And it works, I've used it often enough.
Volker.