<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Sending attachments using Send_sff and mime in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/sending-attachments-using-send-sff-and-mime/m-p/5047456#M37733</link>
    <description>HI&lt;BR /&gt;  Thanks to Steven Schweda&lt;BR /&gt;as his suggestion worked for me....&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks A lot for all who given suggestions as all of them given a better idea of what &lt;BR /&gt;I should do&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;Jayakrishnan G Naik</description>
    <pubDate>Fri, 18 May 2007 00:22:27 GMT</pubDate>
    <dc:creator>GNJ</dc:creator>
    <dc:date>2007-05-18T00:22:27Z</dc:date>
    <item>
      <title>Sending attachments using Send_sff and mime</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sending-attachments-using-send-sff-and-mime/m-p/5047447#M37724</link>
      <description>HI&lt;BR /&gt;  I was facing a problem in sending attachments in vms and i achieved it using &lt;BR /&gt;mime and sene_sff command.&lt;BR /&gt;  But I am facing a issue in the received attachments. The sent file is a csv file with &lt;BR /&gt;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&lt;BR /&gt;   $mime&lt;BR /&gt;    mime&amp;gt;new/noedit a.txt&lt;BR /&gt;    mime&amp;gt;add/bin test.csv&lt;BR /&gt;    mime&amp;gt;save&lt;BR /&gt;    mime&amp;gt;exit&lt;BR /&gt;   &lt;BR /&gt;    then a.txt is edited and headers with correct mail addresses are added.&lt;BR /&gt;    then&lt;BR /&gt;    $smtp_sff a.txt&lt;BR /&gt;  &lt;BR /&gt;  I am attaching the original file and the &lt;BR /&gt;received file.&lt;BR /&gt; Can you please give your suggestions to rectify this. Please give examples so that &lt;BR /&gt;I can understand with ease...&lt;BR /&gt;Original file attached with this mail.&lt;BR /&gt;the received attach ment will be sent using another..&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks and regards&lt;BR /&gt;</description>
      <pubDate>Thu, 17 May 2007 08:59:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sending-attachments-using-send-sff-and-mime/m-p/5047447#M37724</guid>
      <dc:creator>GNJ</dc:creator>
      <dc:date>2007-05-17T08:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sending attachments using Send_sff and mime</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sending-attachments-using-send-sff-and-mime/m-p/5047448#M37725</link>
      <description>Attaching the received file&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Jayakrishnan G Naik</description>
      <pubDate>Thu, 17 May 2007 09:01:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sending-attachments-using-send-sff-and-mime/m-p/5047448#M37725</guid>
      <dc:creator>GNJ</dc:creator>
      <dc:date>2007-05-17T09:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: Sending attachments using Send_sff and mime</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sending-attachments-using-send-sff-and-mime/m-p/5047449#M37726</link>
      <description>What were the original file attributes?&lt;BR /&gt;("DIRE /FULL", look for "Record format" and&lt;BR /&gt;its friends.)  I know nothing, but MIME may&lt;BR /&gt;do better with Stream_LF than other formats.&lt;BR /&gt;&lt;BR /&gt;Without seeing the MIME output itself, it's&lt;BR /&gt;hard to say where things went wrong.</description>
      <pubDate>Thu, 17 May 2007 09:26:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sending-attachments-using-send-sff-and-mime/m-p/5047449#M37726</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-05-17T09:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Sending attachments using Send_sff and mime</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sending-attachments-using-send-sff-and-mime/m-p/5047450#M37727</link>
      <description>Sequential files are not inherently transportable; there tend to be low-level differences in the record structures across systems, and transfer tools may or may not contend with these correctly.  &lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.  &lt;BR /&gt;&lt;BR /&gt;XML would be the recommended solution here.  It's quite not as simple, but is extensible, flexible, transportable and, well, it just works better.&lt;BR /&gt;&lt;BR /&gt;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.)&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 17 May 2007 09:26:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sending-attachments-using-send-sff-and-mime/m-p/5047450#M37727</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-05-17T09:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sending attachments using Send_sff and mime</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sending-attachments-using-send-sff-and-mime/m-p/5047451#M37728</link>
      <description>I would try to send the file as quoted-printable and see if it is well received.&lt;BR /&gt;Put the line&lt;BR /&gt; csv, text/plain, Quoted-Printable&lt;BR /&gt;in SYS$MANAGER:MIME$FILETYPES.DAT ,&lt;BR /&gt;then simply use ADD, not ADD/BIN in MIME.&lt;BR /&gt;&lt;BR /&gt;And how is "smtp_sff" sending the file ?&lt;BR /&gt;It is not a command known on my VMs.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 17 May 2007 10:07:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sending-attachments-using-send-sff-and-mime/m-p/5047451#M37728</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2007-05-17T10:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sending attachments using Send_sff and mime</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sending-attachments-using-send-sff-and-mime/m-p/5047452#M37729</link>
      <description>Or ADD /TEXT.  Why did you choose /BINARY for&lt;BR /&gt;a text file?</description>
      <pubDate>Thu, 17 May 2007 11:17:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sending-attachments-using-send-sff-and-mime/m-p/5047452#M37729</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-05-17T11:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Sending attachments using Send_sff and mime</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sending-attachments-using-send-sff-and-mime/m-p/5047453#M37730</link>
      <description>The SMTP_SFF mechanism referenced is a part of TCP/IP Services; Send From File.  SMTP_SFF is a means to inject a message directly into the SMTP processing, without allowing MAIL and its own message formatting to interfere.  &lt;BR /&gt;&lt;BR /&gt;Start here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/wizard/wiz_4492.html" target="_blank"&gt;http://h71000.www7.hp.com/wizard/wiz_4492.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 17 May 2007 12:46:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sending-attachments-using-send-sff-and-mime/m-p/5047453#M37730</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-05-17T12:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sending attachments using Send_sff and mime</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sending-attachments-using-send-sff-and-mime/m-p/5047454#M37731</link>
      <description>Yes I know TCPIP$SYSTEM:TCPIP$SMTP_SFF.EXE,&lt;BR /&gt;but one can't pass MIME output directly to it, &lt;BR /&gt;it needs the SMTP-server statements (MAIL FROM, RCPT TO,DATA) inserted before the MIME header.&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Anyhow, there is no need to use SFF at all (unless with quite old TCPIP, before V5.3 presumably).&lt;BR /&gt;A simple "MAIL file destination"  will do it.&lt;BR /&gt;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:".&lt;BR /&gt;</description>
      <pubDate>Thu, 17 May 2007 13:05:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sending-attachments-using-send-sff-and-mime/m-p/5047454#M37731</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2007-05-17T13:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Sending attachments using Send_sff and mime</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sending-attachments-using-send-sff-and-mime/m-p/5047455#M37732</link>
      <description>Ok; I misinterpreted your query.  My bad.  You do raise some good points.  FWIW, the SMTP_SFF symbol is lifted right out of the doc, and it does appears the MIME-encoded message is arriving at the box running Excel, so the message has been addressed and delivered (somehow).  Whether SFF is needed now or there are better ways (as you cite) SFF should still work.  And it would appear the "fun" here is with the CSV file structure or contents, and not so much with the SFF giblets.&lt;BR /&gt;</description>
      <pubDate>Thu, 17 May 2007 13:18:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sending-attachments-using-send-sff-and-mime/m-p/5047455#M37732</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-05-17T13:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sending attachments using Send_sff and mime</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sending-attachments-using-send-sff-and-mime/m-p/5047456#M37733</link>
      <description>HI&lt;BR /&gt;  Thanks to Steven Schweda&lt;BR /&gt;as his suggestion worked for me....&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks A lot for all who given suggestions as all of them given a better idea of what &lt;BR /&gt;I should do&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;Jayakrishnan G Naik</description>
      <pubDate>Fri, 18 May 2007 00:22:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sending-attachments-using-send-sff-and-mime/m-p/5047456#M37733</guid>
      <dc:creator>GNJ</dc:creator>
      <dc:date>2007-05-18T00:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sending attachments using Send_sff and mime</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sending-attachments-using-send-sff-and-mime/m-p/5047457#M37734</link>
      <description>I am closing the threas&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; Once more Thanks to all&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Jayakrishnan G Naik</description>
      <pubDate>Fri, 18 May 2007 00:24:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sending-attachments-using-send-sff-and-mime/m-p/5047457#M37734</guid>
      <dc:creator>GNJ</dc:creator>
      <dc:date>2007-05-18T00:24:37Z</dc:date>
    </item>
  </channel>
</rss>

