<?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: Attaching Emails and include Text in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/attaching-emails-and-include-text/m-p/3121533#M802353</link>
    <description>One of the easist tools to use is elm from the command line especially if you are sendiing multiple attachments and text.&lt;BR /&gt;&lt;BR /&gt;Within the body of your email add this: &lt;BR /&gt;&lt;BR /&gt;------------------------------------ &lt;BR /&gt;&lt;BR /&gt;This is my text. How are you? &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[include /tmp/myattach application/octet-stream base64] &lt;BR /&gt;&lt;BR /&gt;This is some more text in the middle. &lt;BR /&gt;&lt;BR /&gt;[include /tmp/myexcel.xls application/ms-excel base64] &lt;BR /&gt;&lt;BR /&gt;This is a closing message in the email. &lt;BR /&gt;&lt;BR /&gt;---------------------------------------- &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;That will attach /tmp/myattach and /tmp/myexcel.xls. You can include multiple attachments using this method. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Then to use it from a script: &lt;BR /&gt;elm -s "My Subject" dumbo@mailserver.com &amp;lt; myletter &lt;BR /&gt;&lt;BR /&gt;Where myletter contains the attachment include statement as well as your message text. It is also necessary that you have a .elm directory &lt;BR /&gt;under the senders home directory because unlike the interactive version of elm the command-line version will not create a .elm directory automatically</description>
    <pubDate>Mon, 17 Nov 2003 18:30:37 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2003-11-17T18:30:37Z</dc:date>
    <item>
      <title>Attaching Emails and include Text</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/attaching-emails-and-include-text/m-p/3121529#M802349</link>
      <description>I have reviewed the responses regarding attaching a file but how can I add a message in the body as well?</description>
      <pubDate>Mon, 17 Nov 2003 17:15:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/attaching-emails-and-include-text/m-p/3121529#M802349</guid>
      <dc:creator>Joe Milici</dc:creator>
      <dc:date>2003-11-17T17:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Attaching Emails and include Text</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/attaching-emails-and-include-text/m-p/3121530#M802350</link>
      <description>Since you didn't specify the email program you are using, I'll assume mailx.&lt;BR /&gt; &lt;BR /&gt;cat body | mailx -s "subj line" joe@company.com&lt;BR /&gt; &lt;BR /&gt;HTH&lt;BR /&gt; &lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Mon, 17 Nov 2003 17:27:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/attaching-emails-and-include-text/m-p/3121530#M802350</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2003-11-17T17:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Attaching Emails and include Text</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/attaching-emails-and-include-text/m-p/3121531#M802351</link>
      <description>Attaching a good script.&lt;BR /&gt;&lt;BR /&gt;You will need to tweak it.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 17 Nov 2003 17:30:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/attaching-emails-and-include-text/m-p/3121531#M802351</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-11-17T17:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Attaching Emails and include Text</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/attaching-emails-and-include-text/m-p/3121532#M802352</link>
      <description>Rodney, Where does the attachment come into play with your syntax?</description>
      <pubDate>Mon, 17 Nov 2003 17:35:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/attaching-emails-and-include-text/m-p/3121532#M802352</guid>
      <dc:creator>Joe Milici</dc:creator>
      <dc:date>2003-11-17T17:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Attaching Emails and include Text</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/attaching-emails-and-include-text/m-p/3121533#M802353</link>
      <description>One of the easist tools to use is elm from the command line especially if you are sendiing multiple attachments and text.&lt;BR /&gt;&lt;BR /&gt;Within the body of your email add this: &lt;BR /&gt;&lt;BR /&gt;------------------------------------ &lt;BR /&gt;&lt;BR /&gt;This is my text. How are you? &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[include /tmp/myattach application/octet-stream base64] &lt;BR /&gt;&lt;BR /&gt;This is some more text in the middle. &lt;BR /&gt;&lt;BR /&gt;[include /tmp/myexcel.xls application/ms-excel base64] &lt;BR /&gt;&lt;BR /&gt;This is a closing message in the email. &lt;BR /&gt;&lt;BR /&gt;---------------------------------------- &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;That will attach /tmp/myattach and /tmp/myexcel.xls. You can include multiple attachments using this method. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Then to use it from a script: &lt;BR /&gt;elm -s "My Subject" dumbo@mailserver.com &amp;lt; myletter &lt;BR /&gt;&lt;BR /&gt;Where myletter contains the attachment include statement as well as your message text. It is also necessary that you have a .elm directory &lt;BR /&gt;under the senders home directory because unlike the interactive version of elm the command-line version will not create a .elm directory automatically</description>
      <pubDate>Mon, 17 Nov 2003 18:30:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/attaching-emails-and-include-text/m-p/3121533#M802353</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-11-17T18:30:37Z</dc:date>
    </item>
  </channel>
</rss>

