<?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/2523959#M878520</link>
    <description>I've not tried this with mailx, but the following works with elm - the following example shows how to send an attachment for Excel :-&lt;BR /&gt;&lt;BR /&gt;echo "[include /tmp/excel.csv application/msexcel base64]" | elm -s "Excel file" dummy@dummy.com&lt;BR /&gt;&lt;BR /&gt;You will need to play around with the "application/msexcel" part in order to send other attachment types.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Paul.</description>
    <pubDate>Wed, 02 May 2001 16:07:20 GMT</pubDate>
    <dc:creator>Paul Murray_1</dc:creator>
    <dc:date>2001-05-02T16:07:20Z</dc:date>
    <item>
      <title>Mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523958#M878519</link>
      <description>I use mailx as a convenient way to manage my tasks. When my job is finished I let mailx send me the nohup.out or the result set from the job.  My question is this:&lt;BR /&gt;is there a way to use mailx to send me an attachment rather than a dump of the file?  S/Cathy</description>
      <pubDate>Wed, 02 May 2001 15:28:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523958#M878519</guid>
      <dc:creator>cbres00</dc:creator>
      <dc:date>2001-05-02T15:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523959#M878520</link>
      <description>I've not tried this with mailx, but the following works with elm - the following example shows how to send an attachment for Excel :-&lt;BR /&gt;&lt;BR /&gt;echo "[include /tmp/excel.csv application/msexcel base64]" | elm -s "Excel file" dummy@dummy.com&lt;BR /&gt;&lt;BR /&gt;You will need to play around with the "application/msexcel" part in order to send other attachment types.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Paul.</description>
      <pubDate>Wed, 02 May 2001 16:07:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523959#M878520</guid>
      <dc:creator>Paul Murray_1</dc:creator>
      <dc:date>2001-05-02T16:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523960#M878521</link>
      <description>Sorry, forgot to mention that this is dependant on the version of elm you are running.&lt;BR /&gt;&lt;BR /&gt;Another method is to use UUENCODE - see the following thread for details :-&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x41950559ff7cd4118fef0090279cd0f9!0,00.html" target="_blank"&gt;http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x41950559ff7cd4118fef0090279cd0f9!0,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regs,&lt;BR /&gt;Paul.</description>
      <pubDate>Wed, 02 May 2001 16:21:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523960#M878521</guid>
      <dc:creator>Paul Murray_1</dc:creator>
      <dc:date>2001-05-02T16:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523961#M878522</link>
      <description>So whatever file I send gets&lt;BR /&gt;converted to an Excel spreadsheet?  What about Access?&lt;BR /&gt;</description>
      <pubDate>Wed, 02 May 2001 16:24:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523961#M878522</guid>
      <dc:creator>cbres00</dc:creator>
      <dc:date>2001-05-02T16:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523962#M878523</link>
      <description>Cathy,&lt;BR /&gt;&lt;BR /&gt;Here is a thread that discusses in more detail what was suggested.  It also shows uuencode and a third party software option....&lt;BR /&gt;It's a handy thread, I keep it bookmarked:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x41950559ff7cd4118fef0090279cd0f9!0,00.html" target="_blank"&gt;http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x41950559ff7cd4118fef0090279cd0f9!0,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope it helps,&lt;BR /&gt;/rcw</description>
      <pubDate>Wed, 02 May 2001 16:26:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523962#M878523</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2001-05-02T16:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523963#M878524</link>
      <description>The file itself doesn't get converted - it just tells the mail engine which application the attachment is for. &lt;BR /&gt;&lt;BR /&gt;In order to send different file types, you will need to change the "application/msexcel" to whatever matches your attachment.&lt;BR /&gt;&lt;BR /&gt;Unfortunately, I do not have a list of the attachment types, but if you search the forums for "elm", you will see a number of threads on this topic.&lt;BR /&gt;&lt;BR /&gt;I've copied a response from Rita Workman which hopefully explains the structure a little better .....&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;August 09, 2000 20:04 PM GMT   [ unassigned ]   &lt;BR /&gt;&lt;BR /&gt;--------------------------------------------------------------------------------&lt;BR /&gt;I've seen similar requests for this on other messages...and I have sent this before. So I'm sending it again to you...Yes- you can send a file as a TRUE file attachment and actually preserve what the file is...here is the info: &lt;BR /&gt;First make sure you at least have Elm 2.4 on your box, and my example is for a HPUX 10.20 (you need MIME capability) so be sure you have patch PHNE_15835 (it doesn't cause a reboot to load). &lt;BR /&gt;The next thing you have to do is create a small file (ex include.file) that is used to send the file as an attachment. There are a few things you could read on this for more details at HP's IT Resource if you want. But simple create 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 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;&lt;BR /&gt;</description>
      <pubDate>Wed, 02 May 2001 16:32:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523963#M878524</guid>
      <dc:creator>Paul Murray_1</dc:creator>
      <dc:date>2001-05-02T16:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523964#M878525</link>
      <description>Rita,&lt;BR /&gt;&lt;BR /&gt;I hope you don't mind me quoting one of your responses, but I thought it would help Cathy,&lt;BR /&gt;&lt;BR /&gt;Regs,&lt;BR /&gt;Paul.</description>
      <pubDate>Wed, 02 May 2001 16:34:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523964#M878525</guid>
      <dc:creator>Paul Murray_1</dc:creator>
      <dc:date>2001-05-02T16:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523965#M878526</link>
      <description>This is spectaculous!&lt;BR /&gt;Thank you everyone!&lt;BR /&gt;Points have been awarded.&lt;BR /&gt;&lt;BR /&gt;Cathy</description>
      <pubDate>Wed, 02 May 2001 16:38:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523965#M878526</guid>
      <dc:creator>cbres00</dc:creator>
      <dc:date>2001-05-02T16:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523966#M878527</link>
      <description>Paul..&lt;BR /&gt;&lt;BR /&gt;I'm flattered !!&lt;BR /&gt;&lt;BR /&gt;Rita</description>
      <pubDate>Wed, 02 May 2001 16:40:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523966#M878527</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2001-05-02T16:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523967#M878528</link>
      <description>Try either one of the following two :&lt;BR /&gt;&lt;BR /&gt;1.There is a simple utility like elm called as mpack (this is the simplest ), check the following site : &lt;A href="http://www3.primushost.com/~kylet/unix-att.html" target="_blank"&gt;http://www3.primushost.com/~kylet/unix-att.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;2. Introduce the following line in the .profile of the user sending the mailx x and you will get it as an attachment of notepad .&lt;BR /&gt;export LANG=es_ES.iso88591&lt;BR /&gt;&lt;BR /&gt;Manoj&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 02 May 2001 16:41:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523967#M878528</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2001-05-02T16:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523968#M878529</link>
      <description>Tried the second option but I didn't get my file as an attachment.  &lt;BR /&gt;I did " mailx -s "xyz" cathy.breslow@safeway.com &lt;FILENAME&gt;&lt;/FILENAME&gt;&lt;BR /&gt;Did I miss something?</description>
      <pubDate>Wed, 02 May 2001 16:52:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523968#M878529</guid>
      <dc:creator>cbres00</dc:creator>
      <dc:date>2001-05-02T16:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523969#M878530</link>
      <description>try adding the following , I think what I adviced earlier was just one lineexport LANG=es_ES.iso88591&lt;BR /&gt;export LC_CTYPE=es_ES.iso88591&lt;BR /&gt;export LC_COLLATE=C&lt;BR /&gt;&lt;BR /&gt;export LC_MONETARY=en_US.iso88591&lt;BR /&gt;export LC_NUMERIC=en_US.iso88591&lt;BR /&gt;export LC_TIME=en_US.iso88591&lt;BR /&gt;export LC_MESSAGES=en_US.iso88591&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj&lt;BR /&gt;&lt;BR /&gt;I am also attaching the .profile of the user which I go to me as an attachment .&lt;BR /&gt;</description>
      <pubDate>Wed, 02 May 2001 17:07:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523969#M878530</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2001-05-02T17:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523970#M878531</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;I do it this way:&lt;BR /&gt;&lt;BR /&gt;uuencode /path/file /path/file | mailx -m -s "Subject is blabla" name@company.com&lt;BR /&gt;&lt;BR /&gt;/path/file is needed twice by uuencode,&lt;BR /&gt;-m does the trick for the mime-Type&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Christian</description>
      <pubDate>Thu, 03 May 2001 10:17:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523970#M878531</guid>
      <dc:creator>Christian Schulze</dc:creator>
      <dc:date>2001-05-03T10:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523971#M878532</link>
      <description>Christian,&lt;BR /&gt;Thank you for your response!&lt;BR /&gt;1) Why does uuencode need&lt;BR /&gt;/path/file twice?&lt;BR /&gt;2) What's mime?&lt;BR /&gt;TIA,&lt;BR /&gt;Cathy</description>
      <pubDate>Thu, 03 May 2001 13:10:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523971#M878532</guid>
      <dc:creator>cbres00</dc:creator>
      <dc:date>2001-05-03T13:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523972#M878533</link>
      <description>To answer #2&lt;BR /&gt;&lt;BR /&gt;MIME = Multipurpose Internet Mail Extension.&lt;BR /&gt;&lt;BR /&gt;See this thread for more info:&lt;BR /&gt;&lt;A href="http://www.nacs.uci.edu/indiv/ehood/MIME/MIME.html" target="_blank"&gt;http://www.nacs.uci.edu/indiv/ehood/MIME/MIME.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;/rcw</description>
      <pubDate>Thu, 03 May 2001 13:27:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523972#M878533</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2001-05-03T13:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523973#M878534</link>
      <description>Rock on, Royal Rita!&lt;BR /&gt;Thanks much!&lt;BR /&gt;cb</description>
      <pubDate>Thu, 03 May 2001 13:31:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx/m-p/2523973#M878534</guid>
      <dc:creator>cbres00</dc:creator>
      <dc:date>2001-05-03T13:31:40Z</dc:date>
    </item>
  </channel>
</rss>

