<?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: how to send the attachment through sendmail/mailx in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-send-the-attachment-through-sendmail-mailx/m-p/4449869#M358506</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;Regards,&lt;BR /&gt;Subodh.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 30 Jun 2009 09:55:21 GMT</pubDate>
    <dc:creator>subodhbagade</dc:creator>
    <dc:date>2009-06-30T09:55:21Z</dc:date>
    <item>
      <title>how to send the attachment through sendmail/mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-send-the-attachment-through-sendmail-mailx/m-p/4449865#M358502</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;  How can i send the attachment in HP-UX.&lt;BR /&gt;I have tried below option.&lt;BR /&gt;&lt;BR /&gt;uuencode kk.txt|mailx -s "subject" &lt;EMAIL id=""&gt;&lt;BR /&gt;&lt;BR /&gt;after that it's not coming in # promt.&lt;BR /&gt;&lt;BR /&gt;I see the below link also.&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1055599" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1055599&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please need your input.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Karki&lt;/EMAIL&gt;</description>
      <pubDate>Tue, 30 Jun 2009 09:12:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-send-the-attachment-through-sendmail-mailx/m-p/4449865#M358502</guid>
      <dc:creator>gb karki</dc:creator>
      <dc:date>2009-06-30T09:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to send the attachment through sendmail/mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-send-the-attachment-through-sendmail-mailx/m-p/4449866#M358503</link>
      <description>hi,&lt;BR /&gt;see the below example&lt;BR /&gt;cat your_file | mailx -s"test" you@example.com&lt;BR /&gt;&lt;BR /&gt;Suraj</description>
      <pubDate>Tue, 30 Jun 2009 09:19:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-send-the-attachment-through-sendmail-mailx/m-p/4449866#M358503</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2009-06-30T09:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to send the attachment through sendmail/mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-send-the-attachment-through-sendmail-mailx/m-p/4449867#M358504</link>
      <description>try &lt;BR /&gt;uuencode -m kk.txt - | mailx -s subject email</description>
      <pubDate>Tue, 30 Jun 2009 09:28:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-send-the-attachment-through-sendmail-mailx/m-p/4449867#M358504</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2009-06-30T09:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to send the attachment through sendmail/mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-send-the-attachment-through-sendmail-mailx/m-p/4449868#M358505</link>
      <description>Hi Suraj,&lt;BR /&gt;&lt;BR /&gt;  This is equivalent of&lt;BR /&gt;&lt;BR /&gt;mailx -s "subject" &lt;EMAIL id=""&gt; &amp;lt; file_name&lt;BR /&gt;&lt;BR /&gt;i want file as a attachment.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Karki&lt;/EMAIL&gt;</description>
      <pubDate>Tue, 30 Jun 2009 09:32:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-send-the-attachment-through-sendmail-mailx/m-p/4449868#M358505</guid>
      <dc:creator>gb karki</dc:creator>
      <dc:date>2009-06-30T09:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to send the attachment through sendmail/mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-send-the-attachment-through-sendmail-mailx/m-p/4449869#M358506</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;Regards,&lt;BR /&gt;Subodh.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Jun 2009 09:55:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-send-the-attachment-through-sendmail-mailx/m-p/4449869#M358506</guid>
      <dc:creator>subodhbagade</dc:creator>
      <dc:date>2009-06-30T09:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to send the attachment through sendmail/mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-send-the-attachment-through-sendmail-mailx/m-p/4449870#M358507</link>
      <description>Hi Karki:&lt;BR /&gt;&lt;BR /&gt;You may want:&lt;BR /&gt;&lt;BR /&gt;# uuencode kk.txt kk.txt|mailx -s "subject" &lt;EMAIL id=""&gt;&lt;BR /&gt;&lt;BR /&gt;...which sends the mail and returns the prompt.  See the manpages for 'uuencode'.&lt;BR /&gt;&lt;BR /&gt;That said, I have always found Dave La Mar's cheat-sheet for mail and mail attachments invaluable.  He attached it in this thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1075053" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1075053&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;/EMAIL&gt;</description>
      <pubDate>Tue, 30 Jun 2009 10:56:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-send-the-attachment-through-sendmail-mailx/m-p/4449870#M358507</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-06-30T10:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to send the attachment through sendmail/mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-send-the-attachment-through-sendmail-mailx/m-p/4449871#M358508</link>
      <description>Shalom Karki,&lt;BR /&gt;&lt;BR /&gt;I recommend this script:&lt;BR /&gt;&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;SEP</description>
      <pubDate>Tue, 30 Jun 2009 10:56:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-send-the-attachment-through-sendmail-mailx/m-p/4449871#M358508</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-06-30T10:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to send the attachment through sendmail/mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-send-the-attachment-through-sendmail-mailx/m-p/4449872#M358509</link>
      <description>In the case &lt;BR /&gt;&lt;BR /&gt;# uuencode kk.txt kk.txt|mailx -s "subject" &lt;EMAIL_ADDRESS&gt; &lt;BR /&gt;&lt;BR /&gt;comes to your mailbox as a garbled bunch of text instead of attachment, it might mean that, you mail gateway has a different way of interpreting MIME headers. You can overcome this minor headache by inserting a -m switch to your mailx command, like this:&lt;BR /&gt;&lt;BR /&gt;# uuencode kk.txt kk.txt|mailx -m -s "subject" &lt;EMAIL_ADDRESS&gt;&lt;BR /&gt;&lt;BR /&gt;This always works for me.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;PS. You have only assigned point to 5 answers out of a possible 75+. Please show courtesy to those trying to help you and assign points to the answers on your questions linked below:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://forums11.itrc.hp.com/service/forums/pageList.do?userId=WW85728&amp;amp;listType=unassigned&amp;amp;forumId=1" target="_blank"&gt;https://forums11.itrc.hp.com/service/forums/pageList.do?userId=WW85728&amp;amp;listType=unassigned&amp;amp;forumId=1&lt;/A&gt;&lt;BR /&gt;&lt;/EMAIL_ADDRESS&gt;&lt;/EMAIL_ADDRESS&gt;</description>
      <pubDate>Tue, 30 Jun 2009 13:09:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-send-the-attachment-through-sendmail-mailx/m-p/4449872#M358509</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2009-06-30T13:09:25Z</dc:date>
    </item>
  </channel>
</rss>

