<?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 without body in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-without-body/m-p/2447186#M9747</link>
    <description>Sorry Leong... I just cut and paste a test case from my machine it should be:&lt;BR /&gt;&lt;BR /&gt;n a script, use &lt;BR /&gt;                                          echo .\n | mailx -s "subject if you want" recepient&lt;BR /&gt;&lt;BR /&gt;                                          that is echo period backslash n</description>
    <pubDate>Fri, 22 Sep 2000 02:42:15 GMT</pubDate>
    <dc:creator>Kofi ARTHIABAH</dc:creator>
    <dc:date>2000-09-22T02:42:15Z</dc:date>
    <item>
      <title>mailx without body</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-without-body/m-p/2447180#M9741</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;How to go about sending a blank mail using mailx.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;YC</description>
      <pubDate>Fri, 22 Sep 2000 02:05:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-without-body/m-p/2447180#M9741</guid>
      <dc:creator>yc_2</dc:creator>
      <dc:date>2000-09-22T02:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: mailx without body</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-without-body/m-p/2447181#M9742</link>
      <description>Try:&lt;BR /&gt;&lt;BR /&gt;mailx -s "Subject if you want" receipient&lt;BR /&gt;.&lt;BR /&gt;(that is a period on a line by itself)&lt;BR /&gt;I am curious, why would you want to send a mail with a null body?</description>
      <pubDate>Fri, 22 Sep 2000 02:17:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-without-body/m-p/2447181#M9742</guid>
      <dc:creator>Kofi ARTHIABAH</dc:creator>
      <dc:date>2000-09-22T02:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: mailx without body</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-without-body/m-p/2447182#M9743</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks for your advise.&lt;BR /&gt;&lt;BR /&gt;My pkg in MC/SG is unstable, it halted and never fail over for a few times. Instead of waiting the users to initiate the compliant, it will be good to have a simple script to monitor (ease of maintenance) the status of the pkg. Hope to get inform thro mail when it is down.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;YC&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Sep 2000 02:26:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-without-body/m-p/2447182#M9743</guid>
      <dc:creator>yc_2</dc:creator>
      <dc:date>2000-09-22T02:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: mailx without body</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-without-body/m-p/2447183#M9744</link>
      <description>Hi Kofi,&lt;BR /&gt;&lt;BR /&gt;It works in the command line but not in a script. Any changes require for scripting ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;YC</description>
      <pubDate>Fri, 22 Sep 2000 02:32:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-without-body/m-p/2447183#M9744</guid>
      <dc:creator>yc_2</dc:creator>
      <dc:date>2000-09-22T02:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: mailx without body</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-without-body/m-p/2447184#M9745</link>
      <description>Ah I see.  The only thing you have to watch out for is that your network is stable and the message will get dilivered.  To be absolutely sure, you could set up a dial out modem on the server and configure it to dial an alphanumeric pager with a special code when there is a problem.&lt;BR /&gt;&lt;BR /&gt;Good luck.</description>
      <pubDate>Fri, 22 Sep 2000 02:36:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-without-body/m-p/2447184#M9745</guid>
      <dc:creator>Kofi ARTHIABAH</dc:creator>
      <dc:date>2000-09-22T02:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: mailx without body</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-without-body/m-p/2447185#M9746</link>
      <description>in a script, use &lt;BR /&gt;echo .\n | mailx -s "test 2" arthiak &lt;BR /&gt;&lt;BR /&gt;that is echo period backslash n</description>
      <pubDate>Fri, 22 Sep 2000 02:39:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-without-body/m-p/2447185#M9746</guid>
      <dc:creator>Kofi ARTHIABAH</dc:creator>
      <dc:date>2000-09-22T02:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: mailx without body</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-without-body/m-p/2447186#M9747</link>
      <description>Sorry Leong... I just cut and paste a test case from my machine it should be:&lt;BR /&gt;&lt;BR /&gt;n a script, use &lt;BR /&gt;                                          echo .\n | mailx -s "subject if you want" recepient&lt;BR /&gt;&lt;BR /&gt;                                          that is echo period backslash n</description>
      <pubDate>Fri, 22 Sep 2000 02:42:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-without-body/m-p/2447186#M9747</guid>
      <dc:creator>Kofi ARTHIABAH</dc:creator>
      <dc:date>2000-09-22T02:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: mailx without body</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-without-body/m-p/2447187#M9748</link>
      <description>Ahh...  I better catch some sleep - here we are:&lt;BR /&gt;&lt;BR /&gt;echo "\n" | mailx -s "subject" recepient&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Sep 2000 02:44:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-without-body/m-p/2447187#M9748</guid>
      <dc:creator>Kofi ARTHIABAH</dc:creator>
      <dc:date>2000-09-22T02:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: mailx without body</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-without-body/m-p/2447188#M9749</link>
      <description>Hi Kofi,&lt;BR /&gt;&lt;BR /&gt;It works, I really appreciate your time for solving my problem.&lt;BR /&gt;&lt;BR /&gt;Would you like to advise why I can't use the exact syntax from the command line in the script ? &lt;BR /&gt;&lt;BR /&gt;You were saying using a pager to get inform, I have actually think of this as well. It didn't kick off because I am no good in scripting. Would you like to share about how this can be done ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;YC</description>
      <pubDate>Fri, 22 Sep 2000 02:58:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-without-body/m-p/2447188#M9749</guid>
      <dc:creator>yc_2</dc:creator>
      <dc:date>2000-09-22T02:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: mailx without body</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-without-body/m-p/2447189#M9750</link>
      <description>The reason it was not working the same as the command line is because mailx expects inputs from the standard input (interactive) when invoked; the echo command creates a null line which gets passed to the standard input of mailx.&lt;BR /&gt;&lt;BR /&gt;Yes I have a server configured that constantly probes another one (its called from within cron every 5 minutes)  I configured a script to use the cu command ( do a man on cu) I will have to post parts of the script later - its on another machine that I cannot reach right now.&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Sep 2000 03:11:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-without-body/m-p/2447189#M9750</guid>
      <dc:creator>Kofi ARTHIABAH</dc:creator>
      <dc:date>2000-09-22T03:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: mailx without body</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-without-body/m-p/2447190#M9751</link>
      <description>Leong:&lt;BR /&gt;&lt;BR /&gt;The attached script can be used to send a numeric page to a numeric pager.  You can call it from another script that monitors daemons and server health etc.&lt;BR /&gt;&lt;BR /&gt;Good luck</description>
      <pubDate>Thu, 19 Oct 2000 13:53:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-without-body/m-p/2447190#M9751</guid>
      <dc:creator>Kofi ARTHIABAH</dc:creator>
      <dc:date>2000-10-19T13:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: mailx without body</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-without-body/m-p/2447191#M9752</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Hope following line syntax will work in script.&lt;BR /&gt;&lt;BR /&gt;mailx -s "subject" receipient &amp;lt; /dev/null&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; regards,&lt;BR /&gt;Jeganathan</description>
      <pubDate>Mon, 23 Oct 2000 14:06:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-without-body/m-p/2447191#M9752</guid>
      <dc:creator>Jeganathan Venkitasamy</dc:creator>
      <dc:date>2000-10-23T14:06:59Z</dc:date>
    </item>
  </channel>
</rss>

