<?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: Attachments in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/attachments/m-p/2449440#M769876</link>
    <description>Perhaps MIME functionality is not set up in sendmail?&lt;BR /&gt;&lt;BR /&gt;Add the following lines to /usr/share/lib/mailx.rc&lt;BR /&gt;&lt;BR /&gt;set charset=X-roman8&lt;BR /&gt;set charset=us-ascii&lt;BR /&gt;&lt;BR /&gt;Then stop and restart sendmail&lt;BR /&gt;&lt;BR /&gt;Berlene &lt;BR /&gt;</description>
    <pubDate>Mon, 02 Oct 2000 14:34:13 GMT</pubDate>
    <dc:creator>Berlene Herren</dc:creator>
    <dc:date>2000-10-02T14:34:13Z</dc:date>
    <item>
      <title>Attachments</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/attachments/m-p/2449439#M769875</link>
      <description>I am attempting to attach a  text file report to a email message as an attachement. Using the following command:&lt;BR /&gt;&lt;BR /&gt;uuencode /etc/hosts hosts.txt|sendmail user@abc.com&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sends the file as an attachment, but the file no longer looks like the source.  Looks like it's a unix character tranlation issue.  &lt;BR /&gt;&lt;BR /&gt;Any ideas on how I can get this to work?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Alan Karelitz&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Oct 2000 14:29:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/attachments/m-p/2449439#M769875</guid>
      <dc:creator>Alan Karelitz</dc:creator>
      <dc:date>2000-10-02T14:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/attachments/m-p/2449440#M769876</link>
      <description>Perhaps MIME functionality is not set up in sendmail?&lt;BR /&gt;&lt;BR /&gt;Add the following lines to /usr/share/lib/mailx.rc&lt;BR /&gt;&lt;BR /&gt;set charset=X-roman8&lt;BR /&gt;set charset=us-ascii&lt;BR /&gt;&lt;BR /&gt;Then stop and restart sendmail&lt;BR /&gt;&lt;BR /&gt;Berlene &lt;BR /&gt;</description>
      <pubDate>Mon, 02 Oct 2000 14:34:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/attachments/m-p/2449440#M769876</guid>
      <dc:creator>Berlene Herren</dc:creator>
      <dc:date>2000-10-02T14:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/attachments/m-p/2449441#M769877</link>
      <description>If you are sending the file to a windows platform then you will need to (at least)convert the NL that UNIX uses to CRLF that windows uses as a record separator. This is because the uuencode technique effectively does a 'binary' copy similar to ftp.&lt;BR /&gt;&lt;BR /&gt;Try converting the file with 'ux2dos' first.</description>
      <pubDate>Mon, 02 Oct 2000 14:43:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/attachments/m-p/2449441#M769877</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-10-02T14:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/attachments/m-p/2449442#M769878</link>
      <description>This is something we do alot here..because we send reports (and images) via elm as part of the jobstreams for production.  I don't know if you'll care for this approach, but we like it...so:&lt;BR /&gt;&lt;BR /&gt;                        &lt;BR /&gt;           .Yes- you can send a file as a TRUE file&lt;BR /&gt;                         attachment and actually preserve what the file is...here is&lt;BR /&gt;                         the info: &lt;BR /&gt;                         First make sure you at least have Elm 2.4 on your box,&lt;BR /&gt;                         and my example is for a HPUX 10.20 (you need MIME&lt;BR /&gt;                         capability) so be sure you have patch PHNE_15835 (it&lt;BR /&gt;                         doesn't cause a reboot to load). &lt;BR /&gt;                         The next thing you have to do is create a small file (ex&lt;BR /&gt;                         include.file) that is used to send the file as an attachment.&lt;BR /&gt;                         There are a few things you could read on this for more&lt;BR /&gt;                         details at HP's IT Resource if you want. But simple create&lt;BR /&gt;                         a file with this syntax: &lt;BR /&gt;                         [include text.txt text/plain base64] &lt;BR /&gt;&lt;BR /&gt;                         where text.txt is your file. &lt;BR /&gt;&lt;BR /&gt;                         The general format is: [include filename type/subtype&lt;BR /&gt;                         encoding] &lt;BR /&gt;                         type/subtype= text/plain, image/gif, image/jgp etc.. &lt;BR /&gt;                         encoding=base64, quoted-printable etc... &lt;BR /&gt;                         Another example might be for a Word doc: &lt;BR /&gt;                         [include file.doc application/msword base64] &lt;BR /&gt;&lt;BR /&gt;                         Now from the command line to send this file as an&lt;BR /&gt;                         attachment to user_abc: &lt;BR /&gt;&lt;BR /&gt;                         elms -s 'Test attachment file' user_abc@your_org.com &lt;INCLUDE.FILE&gt;&lt;/INCLUDE.FILE&gt;                         ============================================&lt;BR /&gt;                         What this did was email to user_abc@your_org.com the&lt;BR /&gt;                         file test.txt with a subject line of Test attachment file. If you&lt;BR /&gt;                         sent a Word doc it would come across and be a Word file&lt;BR /&gt;                         attachment. &lt;BR /&gt;                         You can do it with text files; image.jpg or gif files; and&lt;BR /&gt;                         more. ....It's a real paper saver. &lt;BR /&gt;                        &lt;BR /&gt;                         Regards,</description>
      <pubDate>Mon, 02 Oct 2000 15:08:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/attachments/m-p/2449442#M769878</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2000-10-02T15:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/attachments/m-p/2449443#M769879</link>
      <description>Berlene,&lt;BR /&gt;&lt;BR /&gt;I tried your suggeston, but it had no effect.</description>
      <pubDate>Mon, 02 Oct 2000 16:47:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/attachments/m-p/2449443#M769879</guid>
      <dc:creator>Alan Karelitz</dc:creator>
      <dc:date>2000-10-02T16:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/attachments/m-p/2449444#M769880</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;The method that you suggested worked very well, but I can't be sure that the end users is going to be on a Windows Platform.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 02 Oct 2000 16:50:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/attachments/m-p/2449444#M769880</guid>
      <dc:creator>Alan Karelitz</dc:creator>
      <dc:date>2000-10-02T16:50:00Z</dc:date>
    </item>
  </channel>
</rss>

