<?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: mailx - send an email with a file attachment in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-send-an-email-with-a-file-attachment/m-p/3832041#M778946</link>
    <description>uuencode&lt;BR /&gt;&lt;BR /&gt;From the man page:&lt;BR /&gt;uuencode foo foo | mailx -s 'new program' friend&lt;BR /&gt;"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Thu, 27 Jul 2006 08:39:14 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2006-07-27T08:39:14Z</dc:date>
    <item>
      <title>mailx - send an email with a file attachment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-send-an-email-with-a-file-attachment/m-p/3832040#M778945</link>
      <description>Hello,&lt;BR /&gt;i am using HP-UX 11.23 PARISC on an rp4440.&lt;BR /&gt;To send emails to our application users we are using the sendmail service. We do not had any problems in the past with sendind emails like this: cat filename &amp;lt; mailx -s "subject" username&lt;BR /&gt;&lt;BR /&gt;Now we want so send the filename not within the email but as an attachment. Can someone help me?&lt;BR /&gt;Sendmail-Version is Sendmail 8.11.1/8.11.1&lt;BR /&gt;Thank You</description>
      <pubDate>Thu, 27 Jul 2006 08:37:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-send-an-email-with-a-file-attachment/m-p/3832040#M778945</guid>
      <dc:creator>Claus Schlotz</dc:creator>
      <dc:date>2006-07-27T08:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: mailx - send an email with a file attachment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-send-an-email-with-a-file-attachment/m-p/3832041#M778946</link>
      <description>uuencode&lt;BR /&gt;&lt;BR /&gt;From the man page:&lt;BR /&gt;uuencode foo foo | mailx -s 'new program' friend&lt;BR /&gt;"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 27 Jul 2006 08:39:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-send-an-email-with-a-file-attachment/m-p/3832041#M778946</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-07-27T08:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: mailx - send an email with a file attachment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-send-an-email-with-a-file-attachment/m-p/3832042#M778947</link>
      <description>Also have a look at this thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=992688" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=992688&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Thu, 27 Jul 2006 08:41:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-send-an-email-with-a-file-attachment/m-p/3832042#M778947</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-07-27T08:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: mailx - send an email with a file attachment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-send-an-email-with-a-file-attachment/m-p/3832043#M778948</link>
      <description>I have an excellent script that was written by Dave Wotton.  I will try to attach it to this post for your use.  If it doesn't attach, you can also download it from the &lt;A href="http://www.consultingcommandos.com" target="_blank"&gt;http://www.consultingcommandos.com&lt;/A&gt; website. This script, written by Dave Wotton, allows you to add attachments (not append to body of email) to your unix emails.  For example, if you attach a comma delimited file using this script to your unix command line email, your end user recipients will be able to just click on the attachment and have the .csv comma-delimited file open up as an excel spreadsheet.</description>
      <pubDate>Thu, 27 Jul 2006 09:00:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-send-an-email-with-a-file-attachment/m-p/3832043#M778948</guid>
      <dc:creator>Gilbert Standen_1</dc:creator>
      <dc:date>2006-07-27T09:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: mailx - send an email with a file attachment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-send-an-email-with-a-file-attachment/m-p/3832044#M778949</link>
      <description>&lt;!--!*#--&gt;Gilbert - tried that script but get:&lt;BR /&gt;&lt;BR /&gt;# mail_files&lt;BR /&gt;/usr/local/bin/mail_files[138]: shift: The specified number is not valid for this command.&lt;BR /&gt;&lt;BR /&gt;Line 138 is the last line of this:&lt;BR /&gt;&lt;BR /&gt;case "$1" in&lt;BR /&gt;   -* ) : ;;                   # ignore it, let getopts handle flags&lt;BR /&gt;    * ) TO=$1 ; shift ;;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Thu, 27 Jul 2006 10:21:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-send-an-email-with-a-file-attachment/m-p/3832044#M778949</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-07-27T10:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: mailx - send an email with a file attachment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-send-an-email-with-a-file-attachment/m-p/3832045#M778950</link>
      <description>Claus -&lt;BR /&gt;Attached is an inhouse doc we use with multiple uses of mailx including tha attachment.&lt;BR /&gt;&lt;BR /&gt;Feel free to use whatever is usefull.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;-dl</description>
      <pubDate>Thu, 27 Jul 2006 12:53:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-send-an-email-with-a-file-attachment/m-p/3832045#M778950</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2006-07-27T12:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: mailx - send an email with a file attachment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-send-an-email-with-a-file-attachment/m-p/3832046#M778951</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Take a look at this script, it has code you can lift.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hpux.ws/mailfile2" target="_blank"&gt;http://www.hpux.ws/mailfile2&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 27 Jul 2006 13:52:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-send-an-email-with-a-file-attachment/m-p/3832046#M778951</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-07-27T13:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: mailx - send an email with a file attachment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mailx-send-an-email-with-a-file-attachment/m-p/3832047#M778952</link>
      <description>This works for us where the PDF is the attachment and the E-mail body text is whatever ASCII you put in filename.txt:&lt;BR /&gt;&lt;BR /&gt;# (cat /home/filename.txt; uuencode /home/attach.pdf attach.pdf) | mailx -s 'SubjectLine' &lt;BR /&gt;-r replyable.email@yourcompany.com&lt;BR /&gt;recepient.email@theircompany.com&lt;BR /&gt;&lt;BR /&gt;Hope it works for you.&lt;BR /&gt;Mike &lt;BR /&gt;</description>
      <pubDate>Thu, 27 Jul 2006 17:00:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mailx-send-an-email-with-a-file-attachment/m-p/3832047#M778952</guid>
      <dc:creator>Michael Skora</dc:creator>
      <dc:date>2006-07-27T17:00:43Z</dc:date>
    </item>
  </channel>
</rss>

