- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Sending attachments using Send_sff and mime
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
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
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-17-2007 01:59 AM
тАО05-17-2007 01:59 AM
I was facing a problem in sending attachments in vms and i achieved it using
mime and sene_sff command.
But I am facing a issue in the received attachments. The sent file is a csv file with
several lines in it and it is received as (when opened in excel) all the lines in a single row.I will mention the commands used for sending the file
$mime
mime>new/noedit a.txt
mime>add/bin test.csv
mime>save
mime>exit
then a.txt is edited and headers with correct mail addresses are added.
then
$smtp_sff a.txt
I am attaching the original file and the
received file.
Can you please give your suggestions to rectify this. Please give examples so that
I can understand with ease...
Original file attached with this mail.
the received attach ment will be sent using another..
Thanks and regards
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2007 02:01 AM
тАО05-17-2007 02:01 AM
Re: Sending attachments using Send_sff and mime
Regards
Jayakrishnan G Naik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2007 02:26 AM
тАО05-17-2007 02:26 AM
Re: Sending attachments using Send_sff and mime
("DIRE /FULL", look for "Record format" and
its friends.) I know nothing, but MIME may
do better with Stream_LF than other formats.
Without seeing the MIME output itself, it's
hard to say where things went wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2007 02:26 AM
тАО05-17-2007 02:26 AM
Re: Sending attachments using Send_sff and mime
Accordingly, I might suggest use of the text-mode transfer (and not binary), and I would encourage converting the file into stream LF format before processing it.
There are various ways to convert what is likely a VFC sequential file (containing the CSV bits) into Stream LF sequential file, the easiest approach involving creating a runt file and issuing a SET FILE/ATT=RFM=STMLF on it, then editing and including the VFC file, and saving the result. In a production environment, an FDL is created and the CONVERT/FDL command is used.
I would also suggest avoiding CSV whenever that is feasible. CSV gets ugly as you end up escaping stuff or when you need make changes, cases which tend to arise with regularity -- it's been my experience that CSV inevitably turns into a hairy, ugly mess.
XML would be the recommended solution here. It's quite not as simple, but is extensible, flexible, transportable and, well, it just works better.
I might also suggest other datagram transports, including using http, https, or such. Quite possibly an XML-based web page or web-served XML document. The client can then pull over the required information as needed and when needed, rather than receiving and processing MAIL messages. (This gets MAIL and SFF entirely out of the mix.)
As for what was attached, attachments that are text files are locally preferred. Further, if this is a formatting issue, I'd be quite surprised if the file survived unscathed. To protect the attributes, I'd suggest a Zip the original file and the SFF message created by the MIME tool (zip with "-V"), and a second zip of the resulting file as received on Microsoft Windows.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2007 03:07 AM
тАО05-17-2007 03:07 AM
Re: Sending attachments using Send_sff and mime
Put the line
csv, text/plain, Quoted-Printable
in SYS$MANAGER:MIME$FILETYPES.DAT ,
then simply use ADD, not ADD/BIN in MIME.
And how is "smtp_sff" sending the file ?
It is not a command known on my VMs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2007 04:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2007 05:46 AM
тАО05-17-2007 05:46 AM
Re: Sending attachments using Send_sff and mime
Start here:
http://h71000.www7.hp.com/wizard/wiz_4492.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2007 06:05 AM
тАО05-17-2007 06:05 AM
Re: Sending attachments using Send_sff and mime
but one can't pass MIME output directly to it,
it needs the SMTP-server statements (MAIL FROM, RCPT TO,DATA) inserted before the MIME header.
So the posted sequence of MIME followed by SMTP_SFF cannot be MIME followed by TCPIP$SMTP_SFF alone, SMTP_SFF must be some procedure equated to the the symbol.
Anyhow, there is no need to use SFF at all (unless with quite old TCPIP, before V5.3 presumably).
A simple "MAIL file destination" will do it.
All newer TCPIP SMTP versions do not insert the notorious empty line before the MIME header, as long as the file starts with "Mime-version:".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2007 06:18 AM
тАО05-17-2007 06:18 AM
Re: Sending attachments using Send_sff and mime
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2007 05:22 PM
тАО05-17-2007 05:22 PM
Re: Sending attachments using Send_sff and mime
Thanks to Steven Schweda
as his suggestion worked for me....
Thanks A lot for all who given suggestions as all of them given a better idea of what
I should do
Thanks & Regards
Jayakrishnan G Naik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2007 05:24 PM
тАО05-17-2007 05:24 PM
Re: Sending attachments using Send_sff and mime
Once more Thanks to all
Regards
Jayakrishnan G Naik