<?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: Send attachments using sendmail. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/send-attachments-using-sendmail/m-p/4152856#M726087</link>
    <description>&lt;!--!*#--&gt;Have you considered using a real MIME&lt;BR /&gt;program, like, say, mpack?&lt;BR /&gt;&lt;BR /&gt;A forum search for something like&lt;BR /&gt;      e-mail attachment&lt;BR /&gt;may find some of the many old threads&lt;BR /&gt;covering this topic.</description>
    <pubDate>Fri, 29 Feb 2008 06:34:53 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2008-02-29T06:34:53Z</dc:date>
    <item>
      <title>Send attachments using sendmail.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/send-attachments-using-sendmail/m-p/4152855#M726086</link>
      <description>Hi, &lt;BR /&gt;I have a written a shell script to &lt;BR /&gt;send e-mails using multiple attachments ( usign uuencode). Interestingly when an &lt;BR /&gt;ms-excel files are sent as attachments, the format will be intact, but when a text file  (files) is sent as an attachment, it will remove the format.  &lt;BR /&gt;&lt;BR /&gt;Kindly show some light on how this can be retained. &lt;BR /&gt;&lt;BR /&gt;Note: My script is as follows.&lt;BR /&gt;++++++++++++++++++++++++++++++++++++++++++++++&lt;BR /&gt;FILE="file_rpt.txt"&lt;BR /&gt;echo "From:    raghu@abc.com" &amp;gt; "MESSAGE_FILE"&lt;BR /&gt;echo "To:      raghu@xyz.com" &amp;gt;&amp;gt; "MESSAGE_FILE"&lt;BR /&gt;echo "Subject: Report" &amp;gt;&amp;gt; "MESSAGE_FILE"&lt;BR /&gt;echo "Content-type: multipart/mixed &amp;gt;/dev/null&lt;BR /&gt;echo "" &amp;gt;&amp;gt; "MESSAGE_FILE"&lt;BR /&gt;echo "" &amp;gt;&amp;gt; "MESSAGE_FILE"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;uuencode ${FILE} ${FILE}&amp;gt;&amp;gt;${MESSAGE_FILE}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;cat MESSAGE_FILE|/usr/sbin/sendmail -t&lt;BR /&gt;++++++++++++++++++++++++++++++++++++++++++++++&lt;BR /&gt;&lt;BR /&gt;Or is it possible to use any other method in sendmail header.&lt;BR /&gt;&lt;BR /&gt;Many Thanks,&lt;BR /&gt;Regards,&lt;BR /&gt;Raghu.</description>
      <pubDate>Fri, 29 Feb 2008 06:11:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/send-attachments-using-sendmail/m-p/4152855#M726086</guid>
      <dc:creator>Raghu Chikkamenahalli</dc:creator>
      <dc:date>2008-02-29T06:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Send attachments using sendmail.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/send-attachments-using-sendmail/m-p/4152856#M726087</link>
      <description>&lt;!--!*#--&gt;Have you considered using a real MIME&lt;BR /&gt;program, like, say, mpack?&lt;BR /&gt;&lt;BR /&gt;A forum search for something like&lt;BR /&gt;      e-mail attachment&lt;BR /&gt;may find some of the many old threads&lt;BR /&gt;covering this topic.</description>
      <pubDate>Fri, 29 Feb 2008 06:34:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/send-attachments-using-sendmail/m-p/4152856#M726087</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-02-29T06:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Send attachments using sendmail.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/send-attachments-using-sendmail/m-p/4152857#M726088</link>
      <description>&lt;!--!*#--&gt;Pipe the uuencode to mailx as follows.&lt;BR /&gt;&lt;BR /&gt;uuencode ${FILE} ${FILE} | &lt;BR /&gt;mailx -m -s "subject" email@address&lt;BR /&gt;&lt;BR /&gt;Works for me on HPUX.  Note take out the -m option on other flavours of unix.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Feb 2008 13:28:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/send-attachments-using-sendmail/m-p/4152857#M726088</guid>
      <dc:creator>OFC_EDM</dc:creator>
      <dc:date>2008-02-29T13:28:22Z</dc:date>
    </item>
  </channel>
</rss>

