<?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 Multiple files thru' email in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-files-thru-email/m-p/2415508#M764550</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;I'm using HP-UX B.10.20 E, and I was looking to send &lt;BR /&gt;attachments using 'mailx' or 'elm'. Is there anyone who can&lt;BR /&gt;help me with this. The send command of 'mailx' doesn't list the&lt;BR /&gt;attachment option. Do I need to update the O.S to the next release or can I &lt;BR /&gt;change some configuration settings ? Also could some help me as how to send &lt;BR /&gt;multiple files thru' email at one time (More than one file per email)? &lt;BR /&gt;Thanks&lt;BR /&gt;Steve&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;P.S.This thread has been moved from&amp;nbsp; HP-UX &amp;gt; General to HP-UX &amp;gt; messaging -HP Forums Moderator&lt;/P&gt;</description>
    <pubDate>Wed, 20 Mar 2013 05:06:36 GMT</pubDate>
    <dc:creator>Steevan Kumar_1</dc:creator>
    <dc:date>2013-03-20T05:06:36Z</dc:date>
    <item>
      <title>Multiple files thru' email</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-files-thru-email/m-p/2415508#M764550</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I'm using HP-UX B.10.20 E, and I was looking to send &lt;BR /&gt;attachments using 'mailx' or 'elm'. Is there anyone who can&lt;BR /&gt;help me with this. The send command of 'mailx' doesn't list the&lt;BR /&gt;attachment option. Do I need to update the O.S to the next release or can I &lt;BR /&gt;change some configuration settings ? Also could some help me as how to send &lt;BR /&gt;multiple files thru' email at one time (More than one file per email)? &lt;BR /&gt;Thanks&lt;BR /&gt;Steve&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;P.S.This thread has been moved from&amp;nbsp; HP-UX &amp;gt; General to HP-UX &amp;gt; messaging -HP Forums Moderator&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2013 05:06:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-files-thru-email/m-p/2415508#M764550</guid>
      <dc:creator>Steevan Kumar_1</dc:creator>
      <dc:date>2013-03-20T05:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple files thru' email</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-files-thru-email/m-p/2415509#M764551</link>
      <description>From mailx all you need to do is this. You state 10.20 and I assuming you have &lt;BR /&gt;the mail patches. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;cat file1 file2 | mailx -s test you@email.com&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;Joe</description>
      <pubDate>Wed, 28 Jul 1999 07:06:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-files-thru-email/m-p/2415509#M764551</guid>
      <dc:creator>Joe Holbrook_2</dc:creator>
      <dc:date>1999-07-28T07:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple files thru' email</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-files-thru-email/m-p/2415510#M764552</link>
      <description>Most modern mailers would produce a file that would be passed on to &lt;BR /&gt;/usr/lib/sendmail with the following headers:&lt;BR /&gt;&lt;BR /&gt;From: address&lt;BR /&gt;To: address&lt;BR /&gt;Subject: subject&lt;BR /&gt;MIME-Version: 1.0&lt;BR /&gt;Content-Type: multipart/mixed;boundary="autogen-boundary"&lt;BR /&gt;&lt;BR /&gt;A gap (just a carriage return followed by a line feed) is needed before the &lt;BR /&gt;rest of the message starts.&lt;BR /&gt;&lt;BR /&gt;Then you would see a header like:&lt;BR /&gt;&lt;BR /&gt;--autogen-boundary&lt;BR /&gt;Content-Type: text/plain;charset=us-ascii;name="file1"&lt;BR /&gt;Content-Disposition: attachment;name="file1"&lt;BR /&gt;&lt;BR /&gt;This is file1.&lt;BR /&gt;&lt;BR /&gt;Then, this will be followed by a boundary:&lt;BR /&gt;--autogen-boundary&lt;BR /&gt;&lt;BR /&gt;Then if you wanted binary content, you would need a set of headers that looked &lt;BR /&gt;like this:&lt;BR /&gt;&lt;BR /&gt;Content-Type: application/octet-stream;name="binary"&lt;BR /&gt;Content-Transfer-Encoding: base64&lt;BR /&gt;Content-Disposition: attachment;name="binary"&lt;BR /&gt;&lt;BR /&gt;The contents would differ; you may see something like application/msword.&lt;BR /&gt;&lt;BR /&gt;I could send you something else that will put a file into base64 format; the &lt;BR /&gt;format is described in the MIME RFCs.&lt;BR /&gt;&lt;BR /&gt;The last boundary in the message is required after the last byte of the &lt;BR /&gt;attachment.  In this example it would look like&lt;BR /&gt;&lt;BR /&gt;--autogen-boundary--&lt;BR /&gt;&lt;BR /&gt;I have been doing this the hard way by hand-editing the file; though I've &lt;BR /&gt;written shell scripts to send things along as a remailer.  I could probably &lt;BR /&gt;obtain the flexibility using mailx if I change the global mailrc file to allow &lt;BR /&gt;hand-editing of the headers.&lt;BR /&gt;&lt;BR /&gt;Another newsgroup that might be useful for this would be comp.mail.sendmail.&lt;BR /&gt;&lt;BR /&gt;If you have any more questions that you'd like to take offline, you can mail me &lt;BR /&gt;at tendo@netcom.com.&lt;BR /&gt;&lt;BR /&gt;Tom</description>
      <pubDate>Fri, 08 Oct 1999 10:23:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-files-thru-email/m-p/2415510#M764552</guid>
      <dc:creator>Thomas Endo</dc:creator>
      <dc:date>1999-10-08T10:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple files thru' email</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-files-thru-email/m-p/2415511#M764553</link>
      <description>Use the following command to send attachments from UNIX to email....&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;uuencode filename filename |sendmail mailrecip@xxx.com&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Where filename is the name of the attachment (Note: this needs to be specified &lt;BR /&gt;twice) and mailrecip is &lt;BR /&gt;the recipient of the email.</description>
      <pubDate>Fri, 22 Oct 1999 11:33:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-files-thru-email/m-p/2415511#M764553</guid>
      <dc:creator>Tammy Rogers_1</dc:creator>
      <dc:date>1999-10-22T11:33:37Z</dc:date>
    </item>
  </channel>
</rss>

