<?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 documents as attachments that may be in binary mode with mailx in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763359#M72935</link>
    <description>A. Clay, you have been great help in the past.  I tried your method but got this:&lt;BR /&gt;&lt;BR /&gt;Contents of my text file (elmtst.txt)&lt;BR /&gt;[include /tmp/swagent_log.doc application/octet-stream]&lt;BR /&gt;[include /tmp/friend.jpg application/octet-stream]      &lt;BR /&gt;&lt;BR /&gt;My command line synstax:&lt;BR /&gt;&lt;BR /&gt;elm -s "Test message" email@address.com &amp;lt; /tmp/elmtst.txt&lt;BR /&gt;&lt;BR /&gt;Result, output:&lt;BR /&gt;&lt;BR /&gt;Include file has BINARY data.&lt;BR /&gt;Include file has BINARY data.&lt;BR /&gt;Include file has BINARY data.&lt;BR /&gt;Include file has BINARY data.&lt;BR /&gt;Sending mail...              &lt;BR /&gt;Mail sent!     &lt;BR /&gt;&lt;BR /&gt;I got no email.  The mailx was sending the files embedded as body of the email.</description>
    <pubDate>Sun, 14 Jul 2002 19:09:20 GMT</pubDate>
    <dc:creator>MAD_2</dc:creator>
    <dc:date>2002-07-14T19:09:20Z</dc:date>
    <item>
      <title>Sending documents as attachments that may be in binary mode with mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763350#M72926</link>
      <description>I have been reading on some threads that I though could relate to my scenario here but did not find a solution to my problem.&lt;BR /&gt;&lt;BR /&gt;I am trying to figure out a way to send files as attachments by using mailx or sendmail withouth having those embeded in the body of the message.  What I want to be able to send are image files, MS Word documents, spreadsheets, etc. from my HP-UX (11.0) to Outlook email accounts or any other email accounts with the original file format and I do not want the file embbeded in the body of the message.  I have tried the uuencode and that did not not give me positive results, i.e.:&lt;BR /&gt;&lt;BR /&gt;uuencode file.gif file.gif | mailx -m -s "Test" email@address.com&lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
      <pubDate>Sun, 14 Jul 2002 17:15:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763350#M72926</guid>
      <dc:creator>MAD_2</dc:creator>
      <dc:date>2002-07-14T17:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sending documents as attachments that may be in binary mode with mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763351#M72927</link>
      <description>&lt;BR /&gt;When you say it doesn't give you positive results, what do you mean?&lt;BR /&gt;&lt;BR /&gt;does the, as in your example, gif file become unreadable?&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Sun, 14 Jul 2002 17:41:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763351#M72927</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-07-14T17:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sending documents as attachments that may be in binary mode with mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763352#M72928</link>
      <description>Harry, thanks for your prompt reply!  What I get is in the body of the email a bunch of unreadable characters.  In other words, I do not get an attachment, I get the document embedded as a message.</description>
      <pubDate>Sun, 14 Jul 2002 17:43:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763352#M72928</guid>
      <dc:creator>MAD_2</dc:creator>
      <dc:date>2002-07-14T17:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sending documents as attachments that may be in binary mode with mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763353#M72929</link>
      <description>&lt;BR /&gt;Maybe something like metamail:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.shelldorado.com/articles/mailattachments.html#mime" target="_blank"&gt;http://www.shelldorado.com/articles/mailattachments.html#mime&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Sun, 14 Jul 2002 17:50:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763353#M72929</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-07-14T17:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sending documents as attachments that may be in binary mode with mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763354#M72930</link>
      <description>&lt;BR /&gt;Also, try dropping the "-m", someone in this thread say's it produces "mime" type :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x0e6b7e990647d4118fee0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x0e6b7e990647d4118fee0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Sun, 14 Jul 2002 17:52:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763354#M72930</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-07-14T17:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sending documents as attachments that may be in binary mode with mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763355#M72931</link>
      <description>Adam,&lt;BR /&gt;&lt;BR /&gt;  Did u try with some other files? If no, try it out. I'm using the mailx with the syntaxt (Used by you) for last 2 years. I don't have any isues.</description>
      <pubDate>Sun, 14 Jul 2002 17:57:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763355#M72931</guid>
      <dc:creator>Arockia Jegan</dc:creator>
      <dc:date>2002-07-14T17:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sending documents as attachments that may be in binary mode with mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763356#M72932</link>
      <description>Harry, thanks for the help.  &lt;BR /&gt;&lt;BR /&gt;I also tried without the -m (yes, the -m seems to produce mime) and although I do get a chance to read the text information from my "MS word" document, I still get the document itself embedded in the body of the email.  In other words, I am NOT getting an attachment, I am getting the document as body of the email.  This is my syntax:&lt;BR /&gt;&lt;BR /&gt;uuencode /tmp/swagent_log.doc /tmp/swagent_log.doc | mailx -s "This is a test" email@address.com&lt;BR /&gt;&lt;BR /&gt;File gets embedded in body of message when received in my outlook email account.</description>
      <pubDate>Sun, 14 Jul 2002 18:00:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763356#M72932</guid>
      <dc:creator>MAD_2</dc:creator>
      <dc:date>2002-07-14T18:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: Sending documents as attachments that may be in binary mode with mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763357#M72933</link>
      <description>Arockia,&lt;BR /&gt;&lt;BR /&gt;I just tried a "jpg" file with this syntax and all I got was garbage in the body of the message:&lt;BR /&gt;&lt;BR /&gt;uuencode /tmp/friend.jpg /tmp/friend.jpg | mailx -s "This is a test" email@address.com</description>
      <pubDate>Sun, 14 Jul 2002 18:05:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763357#M72933</guid>
      <dc:creator>MAD_2</dc:creator>
      <dc:date>2002-07-14T18:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sending documents as attachments that may be in binary mode with mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763358#M72934</link>
      <description>My weapon of choice for this is elm. You can use either the interactive version or the command-line version. It's very easy to do multiple attachments as well. NOTE: If you are using the command-line version you must first create a .elm directory in the sender's home direwctory; the interactive version will create one automatically.&lt;BR /&gt;&lt;BR /&gt;Here's a scripting example:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Simply include the following syntax in your mail textfile (e.g) my_message &lt;BR /&gt;&lt;BR /&gt;----------------- &lt;BR /&gt;This is some sample text. &lt;BR /&gt;[include myfile1 application/octet-stream] &lt;BR /&gt;&lt;BR /&gt;This is some more stuff. &lt;BR /&gt;&lt;BR /&gt;[include myfile2 application/octet-stream] &lt;BR /&gt;&lt;BR /&gt;That's all folks &lt;BR /&gt;------------------ &lt;BR /&gt;&lt;BR /&gt;Then, elm -s "Sample Subject" daffy@looneytoons.com &amp;lt; my_message &lt;BR /&gt;&lt;BR /&gt;The above will generate 2 separate attachments. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 14 Jul 2002 18:49:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763358#M72934</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-07-14T18:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Sending documents as attachments that may be in binary mode with mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763359#M72935</link>
      <description>A. Clay, you have been great help in the past.  I tried your method but got this:&lt;BR /&gt;&lt;BR /&gt;Contents of my text file (elmtst.txt)&lt;BR /&gt;[include /tmp/swagent_log.doc application/octet-stream]&lt;BR /&gt;[include /tmp/friend.jpg application/octet-stream]      &lt;BR /&gt;&lt;BR /&gt;My command line synstax:&lt;BR /&gt;&lt;BR /&gt;elm -s "Test message" email@address.com &amp;lt; /tmp/elmtst.txt&lt;BR /&gt;&lt;BR /&gt;Result, output:&lt;BR /&gt;&lt;BR /&gt;Include file has BINARY data.&lt;BR /&gt;Include file has BINARY data.&lt;BR /&gt;Include file has BINARY data.&lt;BR /&gt;Include file has BINARY data.&lt;BR /&gt;Sending mail...              &lt;BR /&gt;Mail sent!     &lt;BR /&gt;&lt;BR /&gt;I got no email.  The mailx was sending the files embedded as body of the email.</description>
      <pubDate>Sun, 14 Jul 2002 19:09:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763359#M72935</guid>
      <dc:creator>MAD_2</dc:creator>
      <dc:date>2002-07-14T19:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sending documents as attachments that may be in binary mode with mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763360#M72936</link>
      <description>Hi,&lt;BR /&gt;My trick is to use a script calling mailx. There are a lot of perl-scripts, containing lines like:&lt;BR /&gt;&lt;BR /&gt;$to="somebody@somewhere.com"&lt;BR /&gt;$subject="sometalking"&lt;BR /&gt;$cc=""&lt;BR /&gt;$bcc=""&lt;BR /&gt;$body="..."&lt;BR /&gt;but...&lt;BR /&gt;$attachements exists as well:&lt;BR /&gt;for this you need to have installed the perlmodule MIME:Base64&lt;BR /&gt;I used it to sent attachements trough a webinterface:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; function mail_attachement_html($to , $sujet , $message , $fichier , $typemime , $nom , $reply , $from){&lt;BR /&gt; function mail_attachement_html($to , $sujet , $message , $fichier ,&lt;BR /&gt;  $typemime , $nom , $reply , $from){&lt;BR /&gt;  $limite = "_parties_".md5(uniqid (rand()));&lt;BR /&gt;&lt;BR /&gt;  $mail_mime = "Date: ".date("l j F Y, G:i")."\n";&lt;BR /&gt;  $mail_mime .= "MIME-Version: 1.0\n";&lt;BR /&gt;  $mail_mime .= "Content-Type: multipart/mixed;\n";&lt;BR /&gt;  $mail_mime .= " boundary=\"----=$limite\"\n\n";&lt;BR /&gt;&lt;BR /&gt;  $limite2 = "_parties_".md5 (uniqid (rand()));&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  //Le message en texte simple pour les navigateurs qui n'acceptent pas le&lt;BR /&gt;HTML&lt;BR /&gt;  $texte_simple .= "This is a multi-part message in MIME format.\n\n";&lt;BR /&gt;  $texte_simple .= "------=$limite\n";&lt;BR /&gt;  $texte_simple .= "Content-Type: multipart/alternative;\n";&lt;BR /&gt;  $texte_simple .= "\tboundary=\"----=$limite2\"\n\n";&lt;BR /&gt;&lt;BR /&gt;  $texte_simple .= "------=$limite2\n";&lt;BR /&gt;  $texte_simple .= "Content-Type: text/plain; \tcharset=\"US-ASCII\"\n";&lt;BR /&gt;  $texte_simple .= "Content-Transfer-Encoding: quoted-printable\n\n";&lt;BR /&gt;  $texte_simple .= strip_tags(eregi_replace("&lt;BR /&gt;", "\n",&lt;BR /&gt;$message));&lt;BR /&gt;  $texte_simple .= "\n\n";&lt;BR /&gt;&lt;BR /&gt;  //le message en html original&lt;BR /&gt;  $texte_html = "------=$limite2\n";&lt;BR /&gt;  $texte_html .= "Content-Type: text/html;&lt;BR /&gt;  charset=\"US-ASCII\"\n";&lt;BR /&gt;  $texte_html .= "Content-Transfer-Encoding: quoted-printeble\n\n";&lt;BR /&gt;  $texte_html .= $message;&lt;BR /&gt;  $texte_html .= "\n\n\n------=$limite2--\n";&lt;BR /&gt;&lt;BR /&gt;  //le fichier&lt;BR /&gt;  $attachement = "------=$limite\n";&lt;BR /&gt;  $attachement .= "Content-Type: $typemime; name=\"$nom\"\n";&lt;BR /&gt;  $attachement .= "Content-Transfer-Encoding: base64\n";&lt;BR /&gt;  $attachement .= "Content-Disposition: attachment;&lt;BR /&gt;  filename=\"$nom\"\n\n";&lt;BR /&gt;&lt;BR /&gt;  $fd = fopen( $fichier, "r" );&lt;BR /&gt;  $contenu = fread( $fd, filesize( $fichier ) );&lt;BR /&gt;  fclose( $fd );&lt;BR /&gt;  $attachement .= chunk_split(base64_encode($contenu));&lt;BR /&gt;&lt;BR /&gt;  $attachement .= "\n\n\n------=$limite\n";&lt;BR /&gt;  return mail($to, $sujet, $texte_simple.$texte_html.$attachement,&lt;BR /&gt;"Reply-to:&lt;BR /&gt;  $reply\nFrom:&lt;BR /&gt;  $from\n".$mail_mime);&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;So no uuencode but using base64.&lt;BR /&gt;Regards,&lt;BR /&gt;Ceesjan&lt;BR /&gt;</description>
      <pubDate>Sun, 14 Jul 2002 19:53:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763360#M72936</guid>
      <dc:creator>Ceesjan van Hattum</dc:creator>
      <dc:date>2002-07-14T19:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Sending documents as attachments that may be in binary mode with mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763361#M72937</link>
      <description>OK, anyone has more ideas on this issue?&lt;BR /&gt;I've been using mailx and sendmail with uuencode and neither one works to send to Outlook email accounts.  I am currently going to check on mpack but not sure.&lt;BR /&gt;&lt;BR /&gt;Any other tips?</description>
      <pubDate>Mon, 15 Jul 2002 10:19:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763361#M72937</guid>
      <dc:creator>MAD_2</dc:creator>
      <dc:date>2002-07-15T10:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Sending documents as attachments that may be in binary mode with mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763362#M72938</link>
      <description>The problem is that mailx(1) can not do/handle *real* attachments, i.e. while everything looks OK on the HP-UX/UNIX side, mailers like Outlook get confused because there are no headers like:&lt;BR /&gt;&lt;BR /&gt;Content-Type: application/octet-stream;&lt;BR /&gt;        name="..."&lt;BR /&gt;Content-Transfer-Encoding: base64&lt;BR /&gt;Content-Disposition: attachment;&lt;BR /&gt;        filename="..."&lt;BR /&gt;&lt;BR /&gt;mailx generates *some* MIME headers, like&lt;BR /&gt;&lt;BR /&gt;Mime-Version: 1.0&lt;BR /&gt;Content-Type: text/plain; charset=us-ascii&lt;BR /&gt;Content-Transfer-Encoding: 7bit&lt;BR /&gt;&lt;BR /&gt;but that does not signify an *attachment*.&lt;BR /&gt;&lt;BR /&gt;I.e. like other posters have mentioned, you need something like metamail or a new version of elm (that does/handles attachments).&lt;BR /&gt;&lt;BR /&gt;If you do not get a solution here, it is probably best to re-ask the question in the messaging Forum.</description>
      <pubDate>Mon, 15 Jul 2002 11:45:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763362#M72938</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2002-07-15T11:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Sending documents as attachments that may be in binary mode with mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763363#M72939</link>
      <description>Re: Harry's suggestion to leave *off* the "-m" option.&lt;BR /&gt;&lt;BR /&gt;Earlier, I did not check that because that seemed the wrong way to do it, leaving *off* the MIME headers, but I just tried it 'for fun', and for *me* that works, i.e.&lt;BR /&gt;&lt;BR /&gt;uuencode /etc/passwd /etc/passwd | mailx -m -s "Test" my_address@hp.com franks&lt;BR /&gt;&lt;BR /&gt;gives me a correct attachment in Outlook (2000, Corporate or Workgroup version, i.e. *non*-'Internet' version).&lt;BR /&gt;&lt;BR /&gt;The UNIX copy (to franks) has *no* MIME headers. Apparently this is the trigger for Outlook to be 'smart' and do the right thing when seeing&lt;BR /&gt;&lt;BR /&gt;begin 444 /etc/passwd&lt;BR /&gt;M....&lt;BR /&gt;.....&lt;BR /&gt;M....&lt;BR /&gt;end&lt;BR /&gt;&lt;BR /&gt;I don't know why it doesn't work for you, but it works for me.&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Jul 2002 12:03:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763363#M72939</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2002-07-15T12:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sending documents as attachments that may be in binary mode with mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763364#M72940</link>
      <description>Adam,&lt;BR /&gt;&lt;BR /&gt;Sorry I didn't get back to you earlier yesterday. What is the mail program on the receiving end? It has to be able to identify the attachment, otherwise it will just show the uuencode page data.&lt;BR /&gt;&lt;BR /&gt;What I mean is that if you attempt to send a M$ word document, say a Word 2000 document, and the receiver only has M$ 98, when they are going to see just the uuencode data.&lt;BR /&gt;&lt;BR /&gt;I just tested a M$ W2K word document, and a GIF file without any issues using:&lt;BR /&gt;&lt;BR /&gt;uuencode image028.gif image028.gif | mailx -m -s "image stuff" username@place.com&lt;BR /&gt;&lt;BR /&gt;Your Receiver MUST have a VIEWER that can handle the mime type.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 15 Jul 2002 12:28:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763364#M72940</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-07-15T12:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sending documents as attachments that may be in binary mode with mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763365#M72941</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Try "mpack". Download it from hp porting site.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Users/mpack-1.5/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Users/mpack-1.5/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Jul 2002 13:17:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763365#M72941</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-07-15T13:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sending documents as attachments that may be in binary mode with mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763366#M72942</link>
      <description>Sigh!&lt;BR /&gt;&lt;BR /&gt;*Don't* use /etc/passwd as I did in my example. Doing so might trigger a (false) detection of the "Unix Penguin" trojan horse. For details see for example:&lt;BR /&gt; &lt;A href="http://securityresponse.symantec.com/avcenter/venc/data/unix.penguin.html" target="_blank"&gt;http://securityresponse.symantec.com/avcenter/venc/data/unix.penguin.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;In my case, a (MS-) *Windows* copy of my HP-UX .sh_history file was flagged as possibly containing the trojan horse.</description>
      <pubDate>Mon, 15 Jul 2002 13:55:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763366#M72942</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2002-07-15T13:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sending documents as attachments that may be in binary mode with mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763367#M72943</link>
      <description>OK, these are my latest findings (thanks everyone for the help so far, I may have to start a new message because this is becoming quite large):&lt;BR /&gt;&lt;BR /&gt;1.  On the receiving end I tested with MS Outlook 98 and 2000 Corporate or Workgroup editions.&lt;BR /&gt;2.  The solution that A. Clay provided yesterday sort of worked (weird, when I ran the test yesterday, I did not get anything, but got the emails this morning -- Maybe something wrong with the relay server at the time)&lt;BR /&gt;3.  With A. Clay's  suggestion:&lt;BR /&gt;&lt;BR /&gt;=========================================&lt;BR /&gt;Contents of my text file (elmtst.txt) &lt;BR /&gt;[include /tmp/swagent_log.doc application/octet-stream] &lt;BR /&gt;[include /tmp/friend.jpg application/octet-stream] &lt;BR /&gt;&lt;BR /&gt;My command line synstax: &lt;BR /&gt;&lt;BR /&gt;elm -s "Test message" email@address.com &amp;lt; /tmp/elmtst.txt &lt;BR /&gt;&lt;BR /&gt;Result, output: &lt;BR /&gt;&lt;BR /&gt;Include file has BINARY data. &lt;BR /&gt;Include file has BINARY data. &lt;BR /&gt;Include file has BINARY data. &lt;BR /&gt;Include file has BINARY data. &lt;BR /&gt;Sending mail... &lt;BR /&gt;Mail sent! &lt;BR /&gt;=========================================&lt;BR /&gt;I got the two attached documents with the example shown above, but the word document was not readable (the document was created in the same system where I tried to open it) and the jpg image was distorted (you could kind of make up what it was but I came up different than the original)&lt;BR /&gt;&lt;BR /&gt;The uuencode is not working, I have not tried mpack yet but just downloaded it from the depot this morning (thanks Sanjay).&lt;BR /&gt;&lt;BR /&gt;Any clues?</description>
      <pubDate>Mon, 15 Jul 2002 14:45:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763367#M72943</guid>
      <dc:creator>MAD_2</dc:creator>
      <dc:date>2002-07-15T14:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sending documents as attachments that may be in binary mode with mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763368#M72944</link>
      <description>Here is the image received after I sent it as an attachment using A. Clay's example (how it was received, I am attaching separately the original)</description>
      <pubDate>Mon, 15 Jul 2002 14:50:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763368#M72944</guid>
      <dc:creator>MAD_2</dc:creator>
      <dc:date>2002-07-15T14:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Sending documents as attachments that may be in binary mode with mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763369#M72945</link>
      <description>Sorry, my previous message contains the original image, this is how it was received:&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Jul 2002 14:52:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-documents-as-attachments-that-may-be-in-binary-mode-with/m-p/2763369#M72945</guid>
      <dc:creator>MAD_2</dc:creator>
      <dc:date>2002-07-15T14:52:25Z</dc:date>
    </item>
  </channel>
</rss>

