<?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 Again need help in scripting in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/again-need-help-in-scripting/m-p/4764282#M657299</link>
    <description>Hi All,&lt;BR /&gt;I want to create a script which will send an email with the log attached to our client and I have created the same successfully as well.&lt;BR /&gt;Please find it attached.&lt;BR /&gt;It will first go to that directory.&lt;BR /&gt;It will then check the date so that it should take latest log.&lt;BR /&gt;Then it will check the content and send an email.&lt;BR /&gt;However The issue which I am facing is that this log is very lengthy. I want it to attach it in a notepad and then send it in an email.&lt;BR /&gt;Is it possible?&lt;BR /&gt;If yes how will I be doing that?&lt;BR /&gt;Please have a look at the script attached.&lt;BR /&gt;&lt;BR /&gt;waiting for  respone :)&lt;BR /&gt;</description>
    <pubDate>Fri, 11 Mar 2011 18:52:25 GMT</pubDate>
    <dc:creator>Shikha Punyani</dc:creator>
    <dc:date>2011-03-11T18:52:25Z</dc:date>
    <item>
      <title>Again need help in scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/again-need-help-in-scripting/m-p/4764282#M657299</link>
      <description>Hi All,&lt;BR /&gt;I want to create a script which will send an email with the log attached to our client and I have created the same successfully as well.&lt;BR /&gt;Please find it attached.&lt;BR /&gt;It will first go to that directory.&lt;BR /&gt;It will then check the date so that it should take latest log.&lt;BR /&gt;Then it will check the content and send an email.&lt;BR /&gt;However The issue which I am facing is that this log is very lengthy. I want it to attach it in a notepad and then send it in an email.&lt;BR /&gt;Is it possible?&lt;BR /&gt;If yes how will I be doing that?&lt;BR /&gt;Please have a look at the script attached.&lt;BR /&gt;&lt;BR /&gt;waiting for  respone :)&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Mar 2011 18:52:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/again-need-help-in-scripting/m-p/4764282#M657299</guid>
      <dc:creator>Shikha Punyani</dc:creator>
      <dc:date>2011-03-11T18:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Again need help in scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/again-need-help-in-scripting/m-p/4764283#M657300</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.ws/mailfile2" target="_blank"&gt;http://hpux.ws/mailfile2&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Part of &lt;A href="http://hpux.ws/" target="_blank"&gt;http://hpux.ws/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This script will email any attachment any email address.&lt;BR /&gt;&lt;BR /&gt;Tested on &lt;BR /&gt;RHEL 5.x&lt;BR /&gt;HP-UX 11-11iv3&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 11 Mar 2011 18:54:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/again-need-help-in-scripting/m-p/4764283#M657300</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2011-03-11T18:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Again need help in scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/again-need-help-in-scripting/m-p/4764284#M657301</link>
      <description>Steven, Thanks a ton for your quick response.&lt;BR /&gt;I am beginner at scripting.&lt;BR /&gt;It seems you are a genius in reating scripts.&lt;BR /&gt;is there an easy wayto do it?&lt;BR /&gt;I just want to send a log file attached in a notepad.&lt;BR /&gt;Is  there an easy way for it?&lt;BR /&gt;I just attached script which I have created.&lt;BR /&gt;Would you be so kind to have a look at it once?&lt;BR /&gt;any modifications to that script?</description>
      <pubDate>Fri, 11 Mar 2011 19:06:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/again-need-help-in-scripting/m-p/4764284#M657301</guid>
      <dc:creator>Shikha Punyani</dc:creator>
      <dc:date>2011-03-11T19:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Again need help in scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/again-need-help-in-scripting/m-p/4764285#M657302</link>
      <description>&amp;gt;Would you be so kind to have a look at it once?  any modifications to that script?&lt;BR /&gt;&lt;BR /&gt;Your script just includes that log in the body of your message.&lt;BR /&gt;You need to glue SEP's script into your framework.&lt;BR /&gt;You might want to rename your file to temp.txt so that when you attach it, it has the right suffix.  (And you may want to remove that temporary file after you mail it.)</description>
      <pubDate>Sat, 12 Mar 2011 03:23:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/again-need-help-in-scripting/m-p/4764285#M657302</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-03-12T03:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Again need help in scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/again-need-help-in-scripting/m-p/4764286#M657303</link>
      <description>&lt;P&gt;Other similar threads:&lt;BR /&gt;&lt;A href="http://h30499.www3.hp.com/t5/Messaging/Need-to-send-an-attachment-from-HPUX-11-11-to-windows-client/m-p/4747177#M4420" target="_blank"&gt;http://h30499.www3.hp.com/t5/Messaging/Need-to-send-an-attachment-from-HPUX-11-11-to-windows-client/m-p/4747177#M4420&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://h30499.www3.hp.com/t5/Messaging/send-mail-with-embedded-html-plus-xls-attachment/m-p/4759206#M4428" target="_blank"&gt;http://h30499.www3.hp.com/t5/Messaging/send-mail-with-embedded-html-plus-xls-attachment/m-p/4759206#M4428&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://h30499.www3.hp.com/t5/Messaging/How-to-attach-the-file-as-an-attachment-through-automated-unix/m-p/4697726#M4325" target="_blank"&gt;http://h30499.www3.hp.com/t5/Messaging/How-to-attach-the-file-as-an-attachment-through-automated-unix/m-p/4697726#M4325&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2011 18:03:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/again-need-help-in-scripting/m-p/4764286#M657303</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-08-04T18:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Again need help in scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/again-need-help-in-scripting/m-p/4764287#M657304</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt;&lt;BR /&gt;Dave La Mar posted a short series of tips for sending mail attachments in this thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h30499.www3.hp.com/t5/Messaging/mailx-send-an-email-with-a-file-attachment/m-p/3832040#M3301" target="_blank"&gt;http://h30499.www3.hp.com/t5/Messaging/mailx-send-an-email-with-a-file-attachment/m-p/3832040#M3301&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Look at Dave's attachment therein.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2011 18:04:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/again-need-help-in-scripting/m-p/4764287#M657304</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2011-08-04T18:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Again need help in scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/again-need-help-in-scripting/m-p/4764288#M657305</link>
      <description>WOW....everytime I post a question, my queries get resolved here!&lt;BR /&gt;I have answers for everything now...&lt;BR /&gt;Thanks to all who have provided support in this regards.&lt;BR /&gt;and Please see my latest script which is working fine :)</description>
      <pubDate>Sat, 12 Mar 2011 16:29:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/again-need-help-in-scripting/m-p/4764288#M657305</guid>
      <dc:creator>Shikha Punyani</dc:creator>
      <dc:date>2011-03-12T16:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Again need help in scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/again-need-help-in-scripting/m-p/4764289#M657306</link>
      <description>Awesome Tips by David , explains everything !!!</description>
      <pubDate>Sat, 12 Mar 2011 17:05:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/again-need-help-in-scripting/m-p/4764289#M657306</guid>
      <dc:creator>Shikha Punyani</dc:creator>
      <dc:date>2011-03-12T17:05:14Z</dc:date>
    </item>
  </channel>
</rss>

