<?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: Sendmail Attached File Problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-attached-file-problem/m-p/2514467#M22616</link>
    <description>Here is what I do:&lt;BR /&gt;(&lt;BR /&gt;echo "To: whoever@wherever.com&lt;BR /&gt;Subject: WHATEVER YOU WANT YOUR SUBJECT TO BE "`date +%D`"&lt;BR /&gt;Contents:&lt;BR /&gt;"&lt;BR /&gt;) &amp;gt; Message.txt&lt;BR /&gt;cat ERROR_TEXT &amp;gt;&amp;gt; Message.txt&lt;BR /&gt;sendmail -t &amp;lt; Message.txt</description>
    <pubDate>Fri, 06 Apr 2001 14:00:34 GMT</pubDate>
    <dc:creator>James L Shirley (4075)</dc:creator>
    <dc:date>2001-04-06T14:00:34Z</dc:date>
    <item>
      <title>Sendmail Attached File Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-attached-file-problem/m-p/2514465#M22614</link>
      <description>I have some scripts that are set up to send me their output via e-mail everyday.&lt;BR /&gt;  &lt;BR /&gt;Example:  /usr/local/bin/daily.sh | mailx -s "Daily Stats" root&lt;BR /&gt;&lt;BR /&gt;Everything works fine except for the fact that it sends me the output as an attachment.  Not in the body of the e-mail as I would like and I get this message when I recieve the mail:&lt;BR /&gt;&lt;BR /&gt;This message uses a character set that is not supported by the Internet Service.  To view the original message content,  open the attached message. If the text doesn't display correctly, save the attachment to disk, and then open it using a viewer that can display the original character set.&lt;BR /&gt;&lt;BR /&gt;Is there a setting in sendmail that I have to change?  Or is something on the exchange server that this mail goes to?  Any help would be appreciated.  Many thanks in advance.&lt;BR /&gt;&lt;BR /&gt;Rob Smith &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Apr 2001 13:17:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-attached-file-problem/m-p/2514465#M22614</guid>
      <dc:creator>Rob Smith</dc:creator>
      <dc:date>2001-04-06T13:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail Attached File Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-attached-file-problem/m-p/2514466#M22615</link>
      <description>Maybe I could suggest something slightly different than just sending output to a mail statement.&lt;BR /&gt;usr/local/bin/daily.sh | mailx -s "Daily Stats"  root                               &lt;BR /&gt;&lt;BR /&gt;#./usr/local/bin/daily.sh &amp;gt; daily_out.txt | mailx -s "subject" root &amp;lt; daily_out.txt&lt;BR /&gt;&lt;BR /&gt;I just tried this....created a dummy script to run ls and out to this output file ..it sent me the file in the body of the message../ Then I changed the script to just run ls (no output to file in this script) and mail it...it mailed it in the body of the message.&lt;BR /&gt;&lt;BR /&gt;Just a thought,&lt;BR /&gt;/rcw</description>
      <pubDate>Fri, 06 Apr 2001 13:38:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-attached-file-problem/m-p/2514466#M22615</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2001-04-06T13:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail Attached File Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-attached-file-problem/m-p/2514467#M22616</link>
      <description>Here is what I do:&lt;BR /&gt;(&lt;BR /&gt;echo "To: whoever@wherever.com&lt;BR /&gt;Subject: WHATEVER YOU WANT YOUR SUBJECT TO BE "`date +%D`"&lt;BR /&gt;Contents:&lt;BR /&gt;"&lt;BR /&gt;) &amp;gt; Message.txt&lt;BR /&gt;cat ERROR_TEXT &amp;gt;&amp;gt; Message.txt&lt;BR /&gt;sendmail -t &amp;lt; Message.txt</description>
      <pubDate>Fri, 06 Apr 2001 14:00:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-attached-file-problem/m-p/2514467#M22616</guid>
      <dc:creator>James L Shirley (4075)</dc:creator>
      <dc:date>2001-04-06T14:00:34Z</dc:date>
    </item>
  </channel>
</rss>

