<?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 email with a file attachment in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-email-with-a-file-attachment/m-p/2769689#M74339</link>
    <description>Chris,&lt;BR /&gt;&lt;BR /&gt;There have been many posts on this in the forum.  Please search for "attachment".&lt;BR /&gt;&lt;BR /&gt;Hai</description>
    <pubDate>Tue, 23 Jul 2002 14:03:19 GMT</pubDate>
    <dc:creator>Hai Nguyen_1</dc:creator>
    <dc:date>2002-07-23T14:03:19Z</dc:date>
    <item>
      <title>sending email with a file attachment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-email-with-a-file-attachment/m-p/2769682#M74332</link>
      <description>how can i send an email with a file attachment with mailx or sendmail?  or is there another solution?&lt;BR /&gt;&lt;BR /&gt;thanks in advance,&lt;BR /&gt;&lt;BR /&gt;chris</description>
      <pubDate>Mon, 22 Jul 2002 20:35:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-email-with-a-file-attachment/m-p/2769682#M74332</guid>
      <dc:creator>Chris Harris</dc:creator>
      <dc:date>2002-07-22T20:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: sending email with a file attachment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-email-with-a-file-attachment/m-p/2769683#M74333</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;Here is fairly simple method for sending one or multiple files. &lt;BR /&gt;&lt;BR /&gt;##############################################&lt;BR /&gt;for e in `echo file1 file2 file3` &lt;BR /&gt;do &lt;BR /&gt;uuencode $e $e.txt &lt;BR /&gt;done|mailx -m -s "mymail" username@domain.com &lt;BR /&gt;##############################################&lt;BR /&gt;Change ".txt" to the proper format of the file e.g. .xls for excel, .doc for word etc &lt;BR /&gt;&lt;BR /&gt;You can use mailx, sendmail, just change the command. Have a look at the various man pages for additional help.&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Jul 2002 20:43:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-email-with-a-file-attachment/m-p/2769683#M74333</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-07-22T20:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: sending email with a file attachment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-email-with-a-file-attachment/m-p/2769684#M74334</link>
      <description>if the file is "file"&lt;BR /&gt;&lt;BR /&gt;you can use:&lt;BR /&gt;&lt;BR /&gt;uuencode file file.txt | mailx -m me@here.com&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;the -m is for mime encoding (I think).&lt;BR /&gt;&lt;BR /&gt;If it's a text file, I usually give it an extension that can be opened from outlook, or I go to whoever it's being mailed to, create a new extnesion that uses wordpad to open it up.&lt;BR /&gt;&lt;BR /&gt;Don't forget, if it's plain text you can also use ux2dos before uuencoding it so it's got dos/win EOL characters.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Scott.&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Jul 2002 20:43:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-email-with-a-file-attachment/m-p/2769684#M74334</guid>
      <dc:creator>Scott Van Kalken</dc:creator>
      <dc:date>2002-07-22T20:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: sending email with a file attachment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-email-with-a-file-attachment/m-p/2769685#M74335</link>
      <description>Check out these 2 docs ..&lt;BR /&gt;1) sendmail (docid=KBRC00000747)&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000048039408" target="_blank"&gt;http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000048039408&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;2) mailx (docid=UMAILKBRC00007802)&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000058669768" target="_blank"&gt;http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000058669768&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope they help ..</description>
      <pubDate>Mon, 22 Jul 2002 20:46:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-email-with-a-file-attachment/m-p/2769685#M74335</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-07-22T20:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: sending email with a file attachment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-email-with-a-file-attachment/m-p/2769686#M74336</link>
      <description>My weapon of choice for this is elm.&lt;BR /&gt;&lt;BR /&gt;Simply include the following syntax in your mail textfile (e.g) my_message &lt;BR /&gt;&lt;BR /&gt;----------------- &lt;BR /&gt;This is some sample text. &lt;BR /&gt;[include myfile1 application/octet-stream base64] &lt;BR /&gt;&lt;BR /&gt;This is some more stuff. &lt;BR /&gt;&lt;BR /&gt;[include myfile2 application/octet-stream base64] &lt;BR /&gt;&lt;BR /&gt;That's all folks &lt;BR /&gt;------------------ &lt;BR /&gt;&lt;BR /&gt;Then, elm -s "Sample Subject" someuser@xxx.com &amp;lt; my_message &lt;BR /&gt;&lt;BR /&gt;The only requirement is that you must first create a .elm directory in the sender's home directory; the command-line version will not automatically create the .elm directory unlike the interactive version of elm. The above will attach myfile1 and myfile2. You can play with the application part to suit your needs (e.g. ms-excel). This makes a nice way to do multiple attachments.&lt;BR /&gt;&lt;BR /&gt;Regards, Clay&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Jul 2002 20:55:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-email-with-a-file-attachment/m-p/2769686#M74336</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-07-22T20:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: sending email with a file attachment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-email-with-a-file-attachment/m-p/2769687#M74337</link>
      <description>For my case, &lt;BR /&gt;&lt;BR /&gt; I do a mailx -s "title" "email address" &amp;lt; "file attachment"&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Jul 2002 01:32:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-email-with-a-file-attachment/m-p/2769687#M74337</guid>
      <dc:creator>Wong_3</dc:creator>
      <dc:date>2002-07-23T01:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: sending email with a file attachment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-email-with-a-file-attachment/m-p/2769688#M74338</link>
      <description>Have you considered createing a shell archive.  &lt;BR /&gt;&lt;BR /&gt;Pipe the archve to mail as the message body.</description>
      <pubDate>Tue, 23 Jul 2002 14:00:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-email-with-a-file-attachment/m-p/2769688#M74338</guid>
      <dc:creator>Bill Thorsteinson</dc:creator>
      <dc:date>2002-07-23T14:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: sending email with a file attachment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-email-with-a-file-attachment/m-p/2769689#M74339</link>
      <description>Chris,&lt;BR /&gt;&lt;BR /&gt;There have been many posts on this in the forum.  Please search for "attachment".&lt;BR /&gt;&lt;BR /&gt;Hai</description>
      <pubDate>Tue, 23 Jul 2002 14:03:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-email-with-a-file-attachment/m-p/2769689#M74339</guid>
      <dc:creator>Hai Nguyen_1</dc:creator>
      <dc:date>2002-07-23T14:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: sending email with a file attachment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-email-with-a-file-attachment/m-p/2769690#M74340</link>
      <description>Like Clay, I am a user of the *include* method.  See these threads to help:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://my1.itrc.hp.com/cm/QuestionAnswer/0,,0x41950559ff7cd4118fef0090279cd0f9!0,00.html" target="_blank"&gt;http://my1.itrc.hp.com/cm/QuestionAnswer/0,,0x41950559ff7cd4118fef0090279cd0f9!0,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://my1.itrc.hp.com/cm/QuestionAnswer/1,,0xdf44c4c76f92d611abdb0090277a778c,00.html" target="_blank"&gt;http://my1.itrc.hp.com/cm/QuestionAnswer/1,,0xdf44c4c76f92d611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Rgrds,&lt;BR /&gt;Rita&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Jul 2002 14:23:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-email-with-a-file-attachment/m-p/2769690#M74340</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2002-07-23T14:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: sending email with a file attachment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-email-with-a-file-attachment/m-p/2769691#M74341</link>
      <description>We use the following script to send binary files as attachments from the command line.  HTH.&lt;BR /&gt;&lt;BR /&gt; &lt;A href="http://home.clara.net/dwotton/unix/mail_files.htm" target="_blank"&gt;http://home.clara.net/dwotton/unix/mail_files.htm&lt;/A&gt;</description>
      <pubDate>Wed, 24 Jul 2002 12:13:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-email-with-a-file-attachment/m-p/2769691#M74341</guid>
      <dc:creator>Scott Hanson_1</dc:creator>
      <dc:date>2002-07-24T12:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: sending email with a file attachment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sending-email-with-a-file-attachment/m-p/2769692#M74342</link>
      <description>Sending for example text file as attachment and that it can be opened by Windows do the&lt;BR /&gt;                                      following: &lt;BR /&gt;&lt;BR /&gt;                                      ux2dos YourDocument|uuencode YourDocument.txt|mailx -m -s "Here is your text document"&lt;BR /&gt;                                      email@domain.com &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Jul 2002 14:45:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sending-email-with-a-file-attachment/m-p/2769692#M74342</guid>
      <dc:creator>Anthony khan</dc:creator>
      <dc:date>2002-07-24T14:45:12Z</dc:date>
    </item>
  </channel>
</rss>

