<?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: mailx in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2554832#M886745</link>
    <description>Hi Dave&lt;BR /&gt;&lt;BR /&gt;Try&lt;BR /&gt;&lt;BR /&gt;mailx -s "SUBJECT" abc@xyz.com &amp;lt; &amp;lt; file name&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 19 Jul 2001 19:31:20 GMT</pubDate>
    <dc:creator>MANOJ SRIVASTAVA</dc:creator>
    <dc:date>2001-07-19T19:31:20Z</dc:date>
    <item>
      <title>mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2554831#M886744</link>
      <description>Sorry people. I know there are a lot of posts on this and I have read many, but obviously not the correct one.&lt;BR /&gt;Problem:&lt;BR /&gt;uuencode /path/file.name newfile.txt | mailx &lt;BR /&gt;-m -s "Subject" xxxx@xxxx.com&lt;BR /&gt;&lt;BR /&gt;file.name has many lines of text.&lt;BR /&gt;newfile.txt when received as an attachment contains all the lines of test in one line.&lt;BR /&gt;There seems to be no translation of cr lf.&lt;BR /&gt;mailx.rc contains - set charset=X-roman8&lt;BR /&gt;                    set charset=us-ascii&lt;BR /&gt;What am I missing?&lt;BR /&gt;I can use elm but wish to solve this first.&lt;BR /&gt;Thanks for any input.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Jul 2001 19:06:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2554831#M886744</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2001-07-19T19:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2554832#M886745</link>
      <description>Hi Dave&lt;BR /&gt;&lt;BR /&gt;Try&lt;BR /&gt;&lt;BR /&gt;mailx -s "SUBJECT" abc@xyz.com &amp;lt; &amp;lt; file name&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Jul 2001 19:31:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2554832#M886745</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2001-07-19T19:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2554833#M886746</link>
      <description>Thanks for the suggestion Manoj Srivastava, &lt;BR /&gt;but that will put the text in the body of the email and not as an attachment.&lt;BR /&gt;dl</description>
      <pubDate>Thu, 19 Jul 2001 19:36:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2554833#M886746</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2001-07-19T19:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2554834#M886747</link>
      <description>Hi Dave&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;add the following to the .profile of the user and you will get the attachement&lt;BR /&gt;&lt;BR /&gt;export NLS_LANG="spanish"_spain.we8dec&lt;BR /&gt;export NLS_LANG=AMERICAN_AMERICA.US7ASCII&lt;BR /&gt;export LANG=es_ES.iso88591&lt;BR /&gt;&lt;BR /&gt;I have also added the .profile of the user from where I get the atachements .&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Thu, 19 Jul 2001 19:51:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2554834#M886747</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2001-07-19T19:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2554835#M886748</link>
      <description>Thanks for the input. I will add the language parms as needed.&lt;BR /&gt;As it turns out the problem was in opening the document in word pad.&lt;BR /&gt;Translation of cr and lf seem to be fine when using MS Word or ultra edit.&lt;BR /&gt;Rookie error.</description>
      <pubDate>Thu, 19 Jul 2001 20:18:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2554835#M886748</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2001-07-19T20:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2554836#M886749</link>
      <description>The culprit was note pad not word pad as stated.&lt;BR /&gt;dl</description>
      <pubDate>Thu, 19 Jul 2001 20:28:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2554836#M886749</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2001-07-19T20:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2554837#M886750</link>
      <description>uuencode was designed to encode binary files.  It will not convert line feeds.  You should convert the file before encoding it :&lt;BR /&gt;&lt;BR /&gt;# ux2dos /path/file | uuencode newfile.txt | mailx -m -s "Subject" xxxx@xxxx.com&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Jul 2001 07:14:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2554837#M886750</guid>
      <dc:creator>Laurent Paumier</dc:creator>
      <dc:date>2001-07-20T07:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2554838#M886751</link>
      <description>Thanks you Laurent Paumier. Actually though it works as I currently use it, your suggestion seems to be the appropriate way. I noticed this allowed even notepad to open the document successfully.&lt;BR /&gt;Thnaks again.</description>
      <pubDate>Fri, 20 Jul 2001 17:47:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2554838#M886751</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2001-07-20T17:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2554839#M886752</link>
      <description>Notepad is a simple ASCII text editor while WordPad and Word, et al are word processors. A plain ASCII file in DOS or Windows requires CR/LF pairs to conform. Word processors such as Wordpad see the lone LF character as a soft carriage return, which is meaningful in formatting paragraphs. Notepad just shows the single LF as a black square.&lt;BR /&gt;&lt;BR /&gt;You can select all the text in Wordpad or Word with CTRL-A and then copy the data to the Clipboard. Start Notepad and paste the Clipboard contents and all will be fixed.&lt;BR /&gt;&lt;BR /&gt;As this is a bit too complex for most users, just use ux2dos in your mailx command line to conver the file to a standard ACII file foe PCs.</description>
      <pubDate>Fri, 20 Jul 2001 22:10:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2554839#M886752</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-07-20T22:10:29Z</dc:date>
    </item>
  </channel>
</rss>

