<?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 sendmail in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/4467190#M360658</link>
    <description>Hi Gurus,&lt;BR /&gt;&lt;BR /&gt;i want to send mail with attachment and body using mailx.&lt;BR /&gt;&lt;BR /&gt;i used below command&lt;BR /&gt;&lt;BR /&gt;uuencode file1 file1|mailx -m -s "Report" abc@xyz.com &amp;lt; body.txt&lt;BR /&gt;&lt;BR /&gt;we are recieving mail with only body contents but not with attachment&lt;BR /&gt;&lt;BR /&gt;plz guide me&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;himacs</description>
    <pubDate>Mon, 27 Jul 2009 10:47:12 GMT</pubDate>
    <dc:creator>himacs</dc:creator>
    <dc:date>2009-07-27T10:47:12Z</dc:date>
    <item>
      <title>sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/4467190#M360658</link>
      <description>Hi Gurus,&lt;BR /&gt;&lt;BR /&gt;i want to send mail with attachment and body using mailx.&lt;BR /&gt;&lt;BR /&gt;i used below command&lt;BR /&gt;&lt;BR /&gt;uuencode file1 file1|mailx -m -s "Report" abc@xyz.com &amp;lt; body.txt&lt;BR /&gt;&lt;BR /&gt;we are recieving mail with only body contents but not with attachment&lt;BR /&gt;&lt;BR /&gt;plz guide me&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;himacs</description>
      <pubDate>Mon, 27 Jul 2009 10:47:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/4467190#M360658</guid>
      <dc:creator>himacs</dc:creator>
      <dc:date>2009-07-27T10:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/4467191#M360659</link>
      <description>you can try this:&lt;BR /&gt;&lt;BR /&gt;(cat body.txt; uuencode file1 file1)| mailx -m -s "report" abc@xyz.com&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Mon, 27 Jul 2009 11:56:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/4467191#M360659</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2009-07-27T11:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/4467192#M360660</link>
      <description>Shalom himacs&lt;BR /&gt;&lt;BR /&gt;Take a look at this script:&lt;BR /&gt;&lt;A href="http://www.hpux.ws/?p=7" target="_blank"&gt;http://www.hpux.ws/?p=7&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There is a working script in there. You can adapt it easily to your needs.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 27 Jul 2009 14:17:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/4467192#M360660</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-07-27T14:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/4467193#M360661</link>
      <description>Hi Himacs,&lt;BR /&gt;&lt;BR /&gt;Following are different methods for mail attachments:&lt;BR /&gt;&lt;BR /&gt;SENDING EMAIL WITH ATTACHMENT- 1&lt;BR /&gt;# uuencode /etc/lvmconf/vg00.mapfile /etc/lvmconf/vg00.mapfile | elm -s "test att" rk@abc.com   -JUNK&lt;BR /&gt;&lt;BR /&gt;SENDING EMAIL WITH ATTACHMENT- 2&lt;BR /&gt;# ux2dos /etc/lvmconf/vg00.mapfile | uuencode /etc/lvmconf/vg00.mapfile | mailx -m  -s "Test" rk@abc.com  -WORKING&lt;BR /&gt;&lt;BR /&gt;SENDING EMAIL WITH ATTACHMENT- 3&lt;BR /&gt;# mailx -m -s "Hello" rk@abc.com &amp;lt;&amp;lt; END&lt;BR /&gt;`ux2dos /home/abc/.cshrc | uuencode /home/abc/.cshrc.txt`  &lt;BR /&gt;`ux2dos /home/abc/.profile | uuencode /home/abc/.profile.txt` &lt;BR /&gt;&lt;BR /&gt;SENDING EMAIL WITH ATTACHMENT- 4&lt;BR /&gt;# elm -- TUI&lt;BR /&gt;&lt;BR /&gt;SENDING EMAIL WITH ATTACHMENT- 5&lt;BR /&gt;# mail -t rk@abc.com &amp;lt;&amp;lt; end&lt;BR /&gt;&amp;gt; Subject : test with attach&lt;BR /&gt;&amp;gt; $( uuencode /etc/lvmconf/vg00.mapfile /etc/lvmconf/vg00.mapfile)&lt;BR /&gt;&amp;gt; $( uuencode /etc/lvmconf/vg00.conf /etc/lvmconf/vg00.conf)&lt;BR /&gt;&amp;gt; end&lt;BR /&gt;&lt;BR /&gt;Regds,&lt;BR /&gt;R.K</description>
      <pubDate>Mon, 27 Jul 2009 14:33:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/4467193#M360661</guid>
      <dc:creator>R.K. #</dc:creator>
      <dc:date>2009-07-27T14:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/4467194#M360662</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;how to send the attachment through sendmail/mailx &lt;BR /&gt;&lt;BR /&gt;(1)#uuencode LOGS.txt LOGS.txt | mailx -s " subject " user@xyz.com&lt;BR /&gt;&lt;BR /&gt;this will send the mail with attachment .....if you are not able read the txt then save it and open with wordpad.&lt;BR /&gt;&lt;BR /&gt;here is the diffrence between eg (1) &amp;amp; (2)&lt;BR /&gt;&lt;BR /&gt;(2)# mailx -s " subject " user@xyz.com&lt;LOGS.TXT&gt;&lt;/LOGS.TXT&gt;&lt;BR /&gt;this will send the mail with body (content ) of txt.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Subodh.</description>
      <pubDate>Tue, 28 Jul 2009 08:40:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/4467194#M360662</guid>
      <dc:creator>subodhbagade</dc:creator>
      <dc:date>2009-07-28T08:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/4467195#M360663</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanx for the responses..and sorry for my delayed reply..&lt;BR /&gt;&lt;BR /&gt;please guide me send more than one attachment in single file.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;himacs&lt;BR /&gt;</description>
      <pubDate>Sun, 02 Aug 2009 21:53:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/4467195#M360663</guid>
      <dc:creator>himacs</dc:creator>
      <dc:date>2009-08-02T21:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/4467196#M360664</link>
      <description>The easiest way is to use "elm" -- TUI based electronic mail.&lt;BR /&gt;&lt;BR /&gt;# elm&lt;BR /&gt;&lt;BR /&gt;You will see something like below:&lt;BR /&gt;&lt;BR /&gt; You can use any of the following commands by pressing the first character;&lt;BR /&gt;                    d)elete or u)ndelete mail,  m)ail a message,  r)eply or f)orward mail,  q)uit&lt;BR /&gt;                      To read a message, press &lt;RETURN&gt;.  j = move down, k = move up, ? = help&lt;BR /&gt;&lt;BR /&gt;Command: m&lt;BR /&gt;Send the message to: abc@xyz.com&lt;BR /&gt;Subject of message: xxxxxxx&lt;BR /&gt;Copies to: def@xyz.com&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;Vi editor open here for typing a message, type and save and quit&lt;BR /&gt;&lt;BR /&gt;Then you will be prompted:&lt;BR /&gt;Please choose one of the following options by parenthesized letter: s&lt;BR /&gt;                        e)dit message, edit h)eaders, s)end it, a) attachments or f)orget it.  &amp;lt;&amp;lt;= select what you want, example "a" to add attachment.&lt;BR /&gt;      &lt;BR /&gt;a&lt;BR /&gt;Attachments:&lt;BR /&gt;                                        a)dd, e)dit, d)elete, m)odify, q)uit&lt;BR /&gt;a&lt;BR /&gt;Filename: /tmp/my_attachment1 &amp;lt;&amp;lt;== type full path of req file&lt;BR /&gt;Hit return&lt;BR /&gt;&lt;BR /&gt;Attachments:&lt;BR /&gt;                                        a)dd, e)dit, d)elete, m)odify, q)uit&lt;BR /&gt;a&lt;BR /&gt;Filename: /tmp/my_attachment2  &amp;lt;&amp;lt;== type full path of req file&lt;BR /&gt;Hit return&lt;BR /&gt;&lt;BR /&gt;Attachments:&lt;BR /&gt;                                        a)dd, e)dit, d)elete, m)odify, q)uit&lt;BR /&gt;q&lt;BR /&gt;&lt;BR /&gt;Please choose one of the following options by parenthesized letter: s&lt;BR /&gt;                        e)dit message, edit h)eaders, s)end it, a) attachments or f)orget it.&lt;BR /&gt;      &lt;BR /&gt;s&lt;BR /&gt;&lt;BR /&gt;  Mail sent!&lt;BR /&gt;&lt;BR /&gt;Command: q&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;So this is how you can send multiple attachments via elm.&lt;BR /&gt;&lt;BR /&gt;Hope this is what you are looking for.&lt;BR /&gt;&lt;BR /&gt;Regds,&lt;BR /&gt;R.K.&lt;/RETURN&gt;</description>
      <pubDate>Mon, 03 Aug 2009 00:55:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/4467196#M360664</guid>
      <dc:creator>R.K. #</dc:creator>
      <dc:date>2009-08-03T00:55:32Z</dc:date>
    </item>
  </channel>
</rss>

