<?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 command issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-command-issue/m-p/5693231#M603830</link>
    <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;echo $SUCCESS | mailx -s "${SUBJ}" ${ADMINS}&lt;/P&gt;</description>
    <pubDate>Mon, 18 Jun 2012 13:09:01 GMT</pubDate>
    <dc:creator>Patrick Wallek</dc:creator>
    <dc:date>2012-06-18T13:09:01Z</dc:date>
    <item>
      <title>mailx command issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-command-issue/m-p/5693149#M603829</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;i&amp;nbsp;wrote one script to send the result of ignite backup to my mail, but i facing problem with mailx command&lt;/P&gt;&lt;P&gt;how can i send mail in one line like below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=============&lt;BR /&gt;SUCCESS=$(tail ${LOG} | grep "completed successfully") ======&amp;gt; this is variable include text output&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;/P&gt;&lt;P&gt;if [ "${PASSFAIL}" = "successfully!" ]; then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mailx -s "${SUBJ}" ${ADMINS} $SUCCESS&amp;nbsp;&amp;nbsp;&amp;nbsp; =====&amp;gt; here my problem&lt;/P&gt;&lt;P&gt;=============&lt;/P&gt;&lt;P&gt;&amp;nbsp;i need to send the content of "$SUCCESS" variable, where in this syntax system will make the "$SUCCESS" as sender not body of mail&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What is the correct syntax to do that&amp;nbsp;&amp;nbsp;? or if is there other way to resolve this problem&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jun 2012 11:41:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-command-issue/m-p/5693149#M603829</guid>
      <dc:creator>itrc55</dc:creator>
      <dc:date>2012-06-18T11:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: mailx command issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-command-issue/m-p/5693231#M603830</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;echo $SUCCESS | mailx -s "${SUBJ}" ${ADMINS}&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jun 2012 13:09:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-command-issue/m-p/5693231#M603830</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2012-06-18T13:09:01Z</dc:date>
    </item>
  </channel>
</rss>

