<?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: sending attachment using sendmail in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-attachment-using-sendmail/m-p/3852841#M275271</link>
    <description>You will require uuencode.</description>
    <pubDate>Wed, 30 Aug 2006 00:44:32 GMT</pubDate>
    <dc:creator>Vibhor Kumar Agarwal</dc:creator>
    <dc:date>2006-08-30T00:44:32Z</dc:date>
    <item>
      <title>sending attachment using sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-attachment-using-sendmail/m-p/3852840#M275270</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We are running sendmail email server. I want to send attachment in the email. &lt;BR /&gt;&lt;BR /&gt;Can someone please let me know how to do that ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shiv&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Aug 2006 00:30:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-attachment-using-sendmail/m-p/3852840#M275270</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2006-08-30T00:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: sending attachment using sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-attachment-using-sendmail/m-p/3852841#M275271</link>
      <description>You will require uuencode.</description>
      <pubDate>Wed, 30 Aug 2006 00:44:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-attachment-using-sendmail/m-p/3852841#M275271</guid>
      <dc:creator>Vibhor Kumar Agarwal</dc:creator>
      <dc:date>2006-08-30T00:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: sending attachment using sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-attachment-using-sendmail/m-p/3852842#M275272</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can use&lt;BR /&gt;&lt;BR /&gt;uuencode filename | mailx -m -s "subject" email_address&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ninad</description>
      <pubDate>Wed, 30 Aug 2006 00:59:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-attachment-using-sendmail/m-p/3852842#M275272</guid>
      <dc:creator>Ninad_1</dc:creator>
      <dc:date>2006-08-30T00:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: sending attachment using sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-attachment-using-sendmail/m-p/3852843#M275273</link>
      <description>Shiv,&lt;BR /&gt;somebody already produced a script you can modify:&lt;BR /&gt;&lt;A href="http://www.hpux.ws/mailfile2" target="_blank"&gt;http://www.hpux.ws/mailfile2&lt;/A&gt;</description>
      <pubDate>Wed, 30 Aug 2006 02:08:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-attachment-using-sendmail/m-p/3852843#M275273</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-08-30T02:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: sending attachment using sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-attachment-using-sendmail/m-p/3852844#M275274</link>
      <description>&lt;BR /&gt;You can use uuencode or elm.&lt;BR /&gt;&lt;BR /&gt;see this post&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=262607" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=262607&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;sajeer&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Aug 2006 02:54:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-attachment-using-sendmail/m-p/3852844#M275274</guid>
      <dc:creator>sajeer_2</dc:creator>
      <dc:date>2006-08-30T02:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: sending attachment using sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-attachment-using-sendmail/m-p/3852845#M275275</link>
      <description>Hi Shiv,&lt;BR /&gt;&lt;BR /&gt;I know this doesn't answer your question, but there is a Network Security Vulnerability with sendmail 8.12.9. The Vulnerability is "Buffer overflow". Just a heads up.&lt;BR /&gt;&lt;BR /&gt;sp,</description>
      <pubDate>Wed, 30 Aug 2006 08:37:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-attachment-using-sendmail/m-p/3852845#M275275</guid>
      <dc:creator>Sp4admin</dc:creator>
      <dc:date>2006-08-30T08:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: sending attachment using sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-attachment-using-sendmail/m-p/3852846#M275276</link>
      <description>Hey;&lt;BR /&gt;&lt;BR /&gt;Check out &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.olearycomputers.com/ll/mcsg/mcsg_mkpkg.html" target="_blank"&gt;http://www.olearycomputers.com/ll/mcsg/mcsg_mkpkg.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;for instructions on using sendmail to send mime attachments.&lt;BR /&gt;&lt;BR /&gt;Doug</description>
      <pubDate>Wed, 30 Aug 2006 08:41:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-attachment-using-sendmail/m-p/3852846#M275276</guid>
      <dc:creator>Doug O'Leary</dc:creator>
      <dc:date>2006-08-30T08:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: sending attachment using sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-attachment-using-sendmail/m-p/3852847#M275277</link>
      <description>Hi Shiv,&lt;BR /&gt;&lt;BR /&gt;In the USA this week.&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;Full featured, production and easy to understand and modify.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 30 Aug 2006 08:46:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-attachment-using-sendmail/m-p/3852847#M275277</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-08-30T08:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: sending attachment using sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-attachment-using-sendmail/m-p/3852848#M275278</link>
      <description>Hey Doug, I think you pasted the wrong linky. &lt;BR /&gt;&lt;BR /&gt;Although thats a nice service guard writeup ;p &lt;BR /&gt;&lt;BR /&gt;Not being a mail guru I would think you can just specify everything to sendmail with a heredoc. &lt;BR /&gt;&lt;BR /&gt;cat &amp;lt;&amp;lt; eof&lt;BR /&gt;to&lt;BR /&gt;from&lt;BR /&gt;subject&lt;BR /&gt;mime-version&lt;BR /&gt;content-type&lt;BR /&gt;body&lt;BR /&gt;content-disposition: attachment; filename=stuff&lt;BR /&gt;eof | sendmail -t&lt;BR /&gt;&lt;BR /&gt;That is most likely missing some stuff. But if you get the structure correct that should be able to do it.  Much easier with uuencode though. &lt;BR /&gt;&lt;BR /&gt;If your just sending a text file and dont need it to be an attachment. (not what your asking I realize) &lt;BR /&gt;&lt;BR /&gt;#  echo "To: you@yourdomain.com\nSubject: your subject\nContent-Type: text/html\&lt;BR /&gt;n\n"`cat /path/to/somefile.html` | sendmail -t&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Aug 2006 08:56:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-attachment-using-sendmail/m-p/3852848#M275278</guid>
      <dc:creator>Marvin Strong</dc:creator>
      <dc:date>2006-08-30T08:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: sending attachment using sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-attachment-using-sendmail/m-p/3852849#M275279</link>
      <description>Crap, Marvin, you're right.&lt;BR /&gt;&lt;BR /&gt;sorry all:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.olearycomputers.com/ll/mail_attach.html" target="_blank"&gt;http://www.olearycomputers.com/ll/mail_attach.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Try that link...&lt;BR /&gt;&lt;BR /&gt;Doug</description>
      <pubDate>Wed, 30 Aug 2006 09:38:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-attachment-using-sendmail/m-p/3852849#M275279</guid>
      <dc:creator>Doug O'Leary</dc:creator>
      <dc:date>2006-08-30T09:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: sending attachment using sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-attachment-using-sendmail/m-p/3852850#M275280</link>
      <description>All great answers, and since anything can be done many ways...here's another....&lt;BR /&gt;&lt;BR /&gt;I use an old simple method...the 'include' file. It's free-it's easy-it works well in scripts and from command line.  All things I like...&lt;BR /&gt;&lt;BR /&gt;Yep just a simple file that looks like this:&lt;BR /&gt;  [include /path/file text/plain base64]&lt;BR /&gt;&lt;BR /&gt;Now this little file can be modified to send most anything from text to pdf.  Another example for MS Word doc:&lt;BR /&gt;  [include /path/file application/msword base64]&lt;BR /&gt;&lt;BR /&gt;To mail this file sitting on the HPUX box I just enter:&lt;BR /&gt; elm -s "Here's the file" anybody@anywhere.com &amp;lt; /path/include.file&lt;BR /&gt;&lt;BR /&gt;Got this from an old document: NALKBRC0001803" Information on mailing attachments using unix mailers. Date 3/25/2000&lt;BR /&gt;&lt;BR /&gt;Rgrds,&lt;BR /&gt;Rita</description>
      <pubDate>Wed, 30 Aug 2006 11:30:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-attachment-using-sendmail/m-p/3852850#M275280</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2006-08-30T11:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: sending attachment using sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-attachment-using-sendmail/m-p/3852851#M275281</link>
      <description>Hi Shiv&lt;BR /&gt;&lt;BR /&gt;Mail messages with attachments should be mime configured if the receiving User Agent is mime compatible.&lt;BR /&gt;&lt;BR /&gt;     If not use uuencode (preferred shar)...&lt;BR /&gt;&lt;BR /&gt;     To send a binary file (nvtd) to a remote user.&lt;BR /&gt;&lt;BR /&gt;shar (uses uuencode)&lt;BR /&gt;&lt;BR /&gt;     shar -cmos nvtd | sendmail -v &lt;NAME&gt;@&lt;ADDRESS&gt;.com&lt;BR /&gt;&lt;BR /&gt;uuencode (Most useragent programs know uuencode)&lt;BR /&gt;&lt;BR /&gt;     With sendmail:&lt;BR /&gt;&lt;BR /&gt;     uuencode nvtd nvtd | sendmail -v &lt;NAME&gt;@&lt;ADDRESS&gt;.com&lt;BR /&gt;&lt;BR /&gt;Groupwise knows uudecoded protocol.&lt;BR /&gt;&lt;BR /&gt;     Do the following to mail file "db":&lt;BR /&gt;&lt;BR /&gt;     uuencode db db | sendmail -v user@host&lt;BR /&gt;&lt;BR /&gt;     The following message should appear:  smtp message delivered...&lt;BR /&gt;&lt;BR /&gt;Send an attachment to me ;-) with lot of points asusual..&lt;BR /&gt;&lt;BR /&gt;regds,&lt;BR /&gt;Vinod&lt;BR /&gt;&lt;/ADDRESS&gt;&lt;/NAME&gt;&lt;/ADDRESS&gt;&lt;/NAME&gt;</description>
      <pubDate>Sun, 05 Nov 2006 03:34:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-attachment-using-sendmail/m-p/3852851#M275281</guid>
      <dc:creator>vinod_25</dc:creator>
      <dc:date>2006-11-05T03:34:34Z</dc:date>
    </item>
  </channel>
</rss>

