<?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: Can you send e-mail attachment using mailx in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/can-you-send-e-mail-attachment-using-mailx/m-p/2767118#M819014</link>
    <description>Hello,&lt;BR /&gt;uuencode filename filename | | sendmail emailid. or mailx mailx mailid&lt;BR /&gt;&lt;BR /&gt;ex:&lt;BR /&gt;&lt;BR /&gt;uuencode /etc/passwd passwd.hostname | sendmail user@domain&lt;BR /&gt;&lt;BR /&gt;-USA..&lt;BR /&gt;</description>
    <pubDate>Thu, 18 Jul 2002 12:26:43 GMT</pubDate>
    <dc:creator>Uday_S_Ankolekar</dc:creator>
    <dc:date>2002-07-18T12:26:43Z</dc:date>
    <item>
      <title>Can you send e-mail attachment using mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-you-send-e-mail-attachment-using-mailx/m-p/2767112#M819008</link>
      <description>From a script want to send emails with attachments out over the internet. Can the mailx utility do this. Is it possible to use the Cc and Bcc with mailx??</description>
      <pubDate>Thu, 18 Jul 2002 11:31:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-you-send-e-mail-attachment-using-mailx/m-p/2767112#M819008</guid>
      <dc:creator>Jonathan Welbon</dc:creator>
      <dc:date>2002-07-18T11:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can you send e-mail attachment using mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-you-send-e-mail-attachment-using-mailx/m-p/2767113#M819009</link>
      <description>For sending for example text file as attachment and that it can be opened by Windows do the following:&lt;BR /&gt;&lt;BR /&gt;ux2dos YourDocument|uuencode YourDocument.txt|mailx -m -s "Here is your text document" email@domain.com&lt;BR /&gt;&lt;BR /&gt;(usage of cc and bcc I don't know)&lt;BR /&gt;&lt;BR /&gt;BB</description>
      <pubDate>Thu, 18 Jul 2002 11:42:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-you-send-e-mail-attachment-using-mailx/m-p/2767113#M819009</guid>
      <dc:creator>Bart Beeren</dc:creator>
      <dc:date>2002-07-18T11:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can you send e-mail attachment using mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-you-send-e-mail-attachment-using-mailx/m-p/2767114#M819010</link>
      <description>Jonathon,&lt;BR /&gt;&lt;BR /&gt;This is just a sample of the hits I came up with by doing a boolean search of the forums on +mailx +attachment:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x99da35067c18d6118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x99da35067c18d6118ff40090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Adding cc and/or bcc might prove just as fruitful.&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 18 Jul 2002 11:44:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-you-send-e-mail-attachment-using-mailx/m-p/2767114#M819010</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-07-18T11:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can you send e-mail attachment using mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-you-send-e-mail-attachment-using-mailx/m-p/2767115#M819011</link>
      <description>Actually, Princess Paula's response in my previously identified thread addresses the Cc and Bcc issue, as well.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 18 Jul 2002 11:46:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-you-send-e-mail-attachment-using-mailx/m-p/2767115#M819011</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-07-18T11:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can you send e-mail attachment using mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-you-send-e-mail-attachment-using-mailx/m-p/2767116#M819012</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Just do a search on the forum for the solution you are looking for and you'll have the solution in no time at all.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Jul 2002 12:09:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-you-send-e-mail-attachment-using-mailx/m-p/2767116#M819012</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-07-18T12:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can you send e-mail attachment using mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-you-send-e-mail-attachment-using-mailx/m-p/2767117#M819013</link>
      <description>Thank You very much Bart. You have opened a door I could biegin to open......but.....&lt;BR /&gt;&lt;BR /&gt;All of the emails are empty. I want to send attachment but I also want some information in the email itself.&lt;BR /&gt;&lt;BR /&gt;Attached is my script I am testing....</description>
      <pubDate>Thu, 18 Jul 2002 12:22:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-you-send-e-mail-attachment-using-mailx/m-p/2767117#M819013</guid>
      <dc:creator>Jonathan Welbon</dc:creator>
      <dc:date>2002-07-18T12:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can you send e-mail attachment using mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-you-send-e-mail-attachment-using-mailx/m-p/2767118#M819014</link>
      <description>Hello,&lt;BR /&gt;uuencode filename filename | | sendmail emailid. or mailx mailx mailid&lt;BR /&gt;&lt;BR /&gt;ex:&lt;BR /&gt;&lt;BR /&gt;uuencode /etc/passwd passwd.hostname | sendmail user@domain&lt;BR /&gt;&lt;BR /&gt;-USA..&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Jul 2002 12:26:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-you-send-e-mail-attachment-using-mailx/m-p/2767118#M819014</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2002-07-18T12:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can you send e-mail attachment using mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-you-send-e-mail-attachment-using-mailx/m-p/2767119#M819015</link>
      <description>If you want to send the file as attachement and not as part of the email, you need to use MIME.&lt;BR /&gt;&lt;BR /&gt;I have attached a sample script I use to send text file as attachment.&lt;BR /&gt;&lt;BR /&gt;Just replace "yourservername" by the hostname of your server and "yourcompany.com" by your domain name.&lt;BR /&gt;&lt;BR /&gt;Chris.</description>
      <pubDate>Fri, 19 Jul 2002 08:23:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-you-send-e-mail-attachment-using-mailx/m-p/2767119#M819015</guid>
      <dc:creator>Christophe MAILHE</dc:creator>
      <dc:date>2002-07-19T08:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can you send e-mail attachment using mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-you-send-e-mail-attachment-using-mailx/m-p/2767120#M819016</link>
      <description>Sorry you do not seem to have the answer you wish. &lt;BR /&gt;As I read this, you wish to send an email with an attachment and a message in the body.&lt;BR /&gt;If so, this should do it -&lt;BR /&gt;&lt;BR /&gt;mailx -m -s "Some Title" someone@somewhere.com &amp;lt;&amp;lt; EOF&lt;BR /&gt;`ux2dos some.fil | uuencode somefile.txt`            &lt;BR /&gt;                                                     &lt;BR /&gt;Type some message here for the body.                 &lt;BR /&gt;                                                     &lt;BR /&gt;EOF                                                  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best of Luck,&lt;BR /&gt;dl</description>
      <pubDate>Fri, 25 Oct 2002 22:07:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-you-send-e-mail-attachment-using-mailx/m-p/2767120#M819016</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2002-10-25T22:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Can you send e-mail attachment using mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-you-send-e-mail-attachment-using-mailx/m-p/2767121#M819017</link>
      <description>One of the easist tolls 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. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 27 Oct 2002 20:26:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-you-send-e-mail-attachment-using-mailx/m-p/2767121#M819017</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-10-27T20:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can you send e-mail attachment using mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-you-send-e-mail-attachment-using-mailx/m-p/2767122#M819018</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;/usr/bin/mailx -s "$LOCALHOST ...title ..." receiver@xxx.xx &amp;lt; /dir/file.dat&lt;BR /&gt;&lt;BR /&gt;Make sure that your /etc/sendmail.cf has the appropriate parameters.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ron</description>
      <pubDate>Mon, 28 Oct 2002 09:55:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-you-send-e-mail-attachment-using-mailx/m-p/2767122#M819018</guid>
      <dc:creator>Ronald Cogen</dc:creator>
      <dc:date>2002-10-28T09:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can you send e-mail attachment using mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-you-send-e-mail-attachment-using-mailx/m-p/2767123#M819019</link>
      <description>I think you just type:&lt;BR /&gt;mailx abc@hotmail.com &amp;lt; file.txt.&lt;BR /&gt;&lt;BR /&gt;You can enter whatever email and file you want. :D&lt;BR /&gt;&lt;BR /&gt;Cc and Bc i never try before.&lt;BR /&gt;&lt;BR /&gt;From,&lt;BR /&gt;Chua Wen Ching :D</description>
      <pubDate>Mon, 28 Oct 2002 11:17:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-you-send-e-mail-attachment-using-mailx/m-p/2767123#M819019</guid>
      <dc:creator>Chua Wen Ching</dc:creator>
      <dc:date>2002-10-28T11:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can you send e-mail attachment using mailx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-you-send-e-mail-attachment-using-mailx/m-p/2767124#M819020</link>
      <description>Here is a sendmail script that can do it.&lt;BR /&gt;&lt;BR /&gt;I'm hoping you are flexible on which mail utility to use. sendmail handles attachments better.&lt;BR /&gt;&lt;BR /&gt;I got this straight out of an hp forum but could not find the post.</description>
      <pubDate>Fri, 24 Jan 2003 01:36:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-you-send-e-mail-attachment-using-mailx/m-p/2767124#M819020</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-24T01:36:58Z</dc:date>
    </item>
  </channel>
</rss>

