<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Email multiple file attachment from Solairs / AIX / HP-UX UNIX/ Linux command line</title> <atom:link href="http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: bindu</title><link>http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-67723</link> <dc:creator>bindu</dc:creator> <pubDate>Fri, 03 Feb 2012 13:36:09 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-67723</guid> <description>$ (cat mymessage.txt; uuencode office.jpeg office.jpeg) &#124; mail -s &quot;Subject&quot; user@my.yahoo.com
Can you please let me know if the file would be attached to the email even if its size is 0, when the above command is used?</description> <content:encoded><![CDATA[<p>$ (cat mymessage.txt; uuencode office.jpeg office.jpeg) | mail -s &#8220;Subject&#8221; <a
href="mailto:user@my.yahoo.com">user@my.yahoo.com</a></p><p>Can you please let me know if the file would be attached to the email even if its size is 0, when the above command is used?</p> ]]></content:encoded> </item> <item><title>By: Acid Plasm</title><link>http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-66645</link> <dc:creator>Acid Plasm</dc:creator> <pubDate>Wed, 11 Jan 2012 14:23:32 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-66645</guid> <description>I cannot seem to send multiple files using AIX.  The body and the first file appear properly, however the subsequent attachments show up as random text.  Is it possible that my OS or Lotus notes can&#039;t seem to process multiple requests?  I have tried both the &amp;&amp; suggestion and the /tmp/out.mail.
Any thoughts?</description> <content:encoded><![CDATA[<p>I cannot seem to send multiple files using AIX.  The body and the first file appear properly, however the subsequent attachments show up as random text.  Is it possible that my OS or Lotus notes can&#8217;t seem to process multiple requests?  I have tried both the &amp;&amp; suggestion and the /tmp/out.mail.</p><p>Any thoughts?</p> ]]></content:encoded> </item> <item><title>By: lyw</title><link>http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-66566</link> <dc:creator>lyw</dc:creator> <pubDate>Mon, 09 Jan 2012 21:45:31 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-66566</guid> <description>Thank you so much!!  I replaced mail with mailx, then it worked in our Solaris box.  This is so useful!!  Thank you for posting!</description> <content:encoded><![CDATA[<p>Thank you so much!!  I replaced mail with mailx, then it worked in our Solaris box.  This is so useful!!  Thank you for posting!</p> ]]></content:encoded> </item> <item><title>By: Raj Kamal</title><link>http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-61909</link> <dc:creator>Raj Kamal</dc:creator> <pubDate>Fri, 26 Aug 2011 09:40:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-61909</guid> <description>Hey use below command..
uuencode /tmp/test teste.txt &#124; sendmail -f  mail_address -v  -t
I dont know how my comment hasnt come properly earlier,..</description> <content:encoded><![CDATA[<p>Hey use below command..</p><p>uuencode /tmp/test teste.txt | sendmail -f  mail_address -v  -t</p><p>I dont know how my comment hasnt come properly earlier,..</p> ]]></content:encoded> </item> <item><title>By: Raj Kamal</title><link>http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-61907</link> <dc:creator>Raj Kamal</dc:creator> <pubDate>Fri, 26 Aug 2011 09:37:56 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-61907</guid> <description>Hey,
You can use the command
uuencode /tmp/test teste.txt &#124; sendmail -f  -v -t
Thnx.</description> <content:encoded><![CDATA[<p>Hey,</p><p>You can use the command</p><p>uuencode /tmp/test teste.txt | sendmail -f  -v -t</p><p>Thnx.</p> ]]></content:encoded> </item> <item><title>By: prajith</title><link>http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-60413</link> <dc:creator>prajith</dc:creator> <pubDate>Sat, 02 Jul 2011 11:45:20 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-60413</guid> <description>This above command holds good for tar files and what about if we have to send a csv file</description> <content:encoded><![CDATA[<p>This above command holds good for tar files and what about if we have to send a csv file</p> ]]></content:encoded> </item> <item><title>By: Minna</title><link>http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-51060</link> <dc:creator>Minna</dc:creator> <pubDate>Tue, 23 Nov 2010 03:31:20 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-51060</guid> <description>send maill with body multiple attachment and cc list
cat mail_body.doc &gt;  out.mail
uuencode file1 rename_file1  &gt;&gt; out.mail
uuencode file2 rename_file2  &gt;&gt; out.mail
echo &#039;~c cc@hotmail.com&#039; &gt;&gt; out.mail
mailx -s &quot;Reports&quot; $TO &lt; out.mail
it really works ~~</description> <content:encoded><![CDATA[<p>send maill with body multiple attachment and cc list<br
/> cat mail_body.doc &gt;  out.mail<br
/> uuencode file1 rename_file1  &gt;&gt; out.mail<br
/> uuencode file2 rename_file2  &gt;&gt; out.mail<br
/> echo &#8216;~c <a
href="mailto:cc@hotmail.com">cc@hotmail.com</a>&#8216; &gt;&gt; out.mail<br
/> mailx -s &#8220;Reports&#8221; $TO &lt; out.mail</p><p>it really works ~~</p> ]]></content:encoded> </item> <item><title>By: Bob</title><link>http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-46196</link> <dc:creator>Bob</dc:creator> <pubDate>Mon, 01 Mar 2010 13:48:14 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-46196</guid> <description>If you are getting junk characters in your e-mail rather than an attachment, check to see if the text file you cat has a carriage return/new line at the end. If not uuencode does not seem to handle it properly.</description> <content:encoded><![CDATA[<p>If you are getting junk characters in your e-mail rather than an attachment, check to see if the text file you cat has a carriage return/new line at the end. If not uuencode does not seem to handle it properly.</p> ]]></content:encoded> </item> <item><title>By: Robin</title><link>http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-42303</link> <dc:creator>Robin</dc:creator> <pubDate>Tue, 30 Jun 2009 09:54:47 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-42303</guid> <description>Excelent
i tried with
(uuencode r1.tar.gz r1.tar.gz &amp;&amp; uuencode r2.tar.gz r2.tar.gz &amp;&amp; uuencode r3.tar.gz r3.tar.gz) &#124; mail -s &quot;Subject&quot; user@my.somewhere.com
It worked</description> <content:encoded><![CDATA[<p>Excelent</p><p>i tried with<br
/> (uuencode r1.tar.gz r1.tar.gz &amp;&amp; uuencode r2.tar.gz r2.tar.gz &amp;&amp; uuencode r3.tar.gz r3.tar.gz) | mail -s &#8220;Subject&#8221; <a
href="mailto:user@my.somewhere.com">user@my.somewhere.com</a></p><p>It worked</p> ]]></content:encoded> </item> <item><title>By: shanti</title><link>http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-42080</link> <dc:creator>shanti</dc:creator> <pubDate>Tue, 16 Jun 2009 19:41:10 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-42080</guid> <description>Doesn&#039;t work for me Only one file get attached to email properly and others are displayed with junk char&#039;s
Thanks</description> <content:encoded><![CDATA[<p>Doesn&#8217;t work for me Only one file get attached to email properly and others are displayed with junk char&#8217;s</p><p>Thanks</p> ]]></content:encoded> </item> <item><title>By: Vasanthi</title><link>http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-40282</link> <dc:creator>Vasanthi</dc:creator> <pubDate>Fri, 13 Feb 2009 22:18:40 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-40282</guid> <description>How do I put in the reply-to and change the origination email using this mail command. The multiple attachments works great!
Thanks,
Vasanthi</description> <content:encoded><![CDATA[<p>How do I put in the reply-to and change the origination email using this mail command. The multiple attachments works great!</p><p>Thanks,<br
/> Vasanthi</p> ]]></content:encoded> </item> <item><title>By: Guy</title><link>http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-39659</link> <dc:creator>Guy</dc:creator> <pubDate>Tue, 30 Dec 2008 13:16:25 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-39659</guid> <description>Task: Send multiple attachments in a single email
Or try this;
&lt;code&gt;$ (cat email-body.txt; uuencode r1.tar.gz r1.tar.gz &amp;&amp; uuencode r2.tar.gz r2.tar.gz &amp;&amp; uuencode r3.tar.gz r3.tar.gz) &#124; mail -s &quot;Subject&quot; user@my.somewhere.com&lt;/code&gt;
Enjoy</description> <content:encoded><![CDATA[<p>Task: Send multiple attachments in a single email<br
/> Or try this;<br
/> <code>$ (cat email-body.txt; uuencode r1.tar.gz r1.tar.gz &amp;&amp; uuencode r2.tar.gz r2.tar.gz &amp;&amp; uuencode r3.tar.gz r3.tar.gz) | mail -s "Subject" <a
href="mailto:user@my.somewhere.com">user@my.somewhere.com</a></code></p><p>Enjoy</p> ]]></content:encoded> </item> <item><title>By: Guy</title><link>http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-39658</link> <dc:creator>Guy</dc:creator> <pubDate>Tue, 30 Dec 2008 11:24:43 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-39658</guid> <description>$ (uuencode r1.tar.gz r1.tar.gz &amp;&amp; uuencode r2.tar.gz r2.tar.gz &amp;&amp; uuencode r3.tar.gz r3.tar.gz) &#124; mail -s &quot;Subject&quot; user@my.somewhere.com</description> <content:encoded><![CDATA[<p>$ (uuencode r1.tar.gz r1.tar.gz &amp;&amp; uuencode r2.tar.gz r2.tar.gz &amp;&amp; uuencode r3.tar.gz r3.tar.gz) | mail -s &#8220;Subject&#8221; <a
href="mailto:user@my.somewhere.com">user@my.somewhere.com</a></p> ]]></content:encoded> </item> <item><title>By: TKL</title><link>http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-39282</link> <dc:creator>TKL</dc:creator> <pubDate>Fri, 21 Nov 2008 12:27:40 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-39282</guid> <description>How to send the mail from AIX server to yahoo / gmail id.</description> <content:encoded><![CDATA[<p>How to send the mail from AIX server to yahoo / gmail id.</p> ]]></content:encoded> </item> <item><title>By: pgiac</title><link>http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-39014</link> <dc:creator>pgiac</dc:creator> <pubDate>Mon, 20 Oct 2008 18:41:10 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-39014</guid> <description>Hi every one,
Please, anybory knows how i send a e-mail with a attached file not on the body of e-mail, but like a file.txt.
Command:
uuencode /tmp/test teste.txt &#124; sendmail -v e-mail_adress
With the above command it worked, but the command elm doesn´t send de attached file.
Tks,</description> <content:encoded><![CDATA[<p>Hi every one,</p><p> Please, anybory knows how i send a e-mail with a attached file not on the body of e-mail, but like a file.txt.</p><p>Command:<br
/> uuencode /tmp/test teste.txt | sendmail -v e-mail_adress</p><p> With the above command it worked, but the command elm doesn´t send de attached file.</p><p>Tks,</p> ]]></content:encoded> </item> <item><title>By: sathish</title><link>http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-38133</link> <dc:creator>sathish</dc:creator> <pubDate>Fri, 20 Jun 2008 06:02:33 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-38133</guid> <description>hai,
while using uuencode i get some junk value in mail
Let me know why this is happening....</description> <content:encoded><![CDATA[<p>hai,</p><p> while using uuencode i get some junk value in mail</p><p>Let me know why this is happening&#8230;.</p> ]]></content:encoded> </item> <item><title>By: vivek</title><link>http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-37770</link> <dc:creator>vivek</dc:creator> <pubDate>Mon, 14 Apr 2008 22:27:31 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-37770</guid> <description>Jakki,
The faq has been updated to include your cat command.</description> <content:encoded><![CDATA[<p>Jakki,</p><p>The faq has been updated to include your cat command.</p> ]]></content:encoded> </item> <item><title>By: Jakki</title><link>http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-37769</link> <dc:creator>Jakki</dc:creator> <pubDate>Mon, 14 Apr 2008 21:39:26 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-37769</guid> <description>Thank you so much!  I&#039;ve been looking for something like this for a long time.  I needed to send multiple attachments and was able to make a quick adjustment to do so:
$ uuencode r1.tar.gz r1.tar.gz &gt; /tmp/out.mail
$ uuencode r2.tar.gz r3.tar.gz &gt;&gt; /tmp/out.mail
$ uuencode r3.tar.gz r3.tar.gz &gt;&gt; /tmp/out.mail
$ cat email.txt &gt;&gt; /tmp/out.mail
$ mail -s &quot;Reports” user@my.somewhere.com &lt; /tmp/out.mail</description> <content:encoded><![CDATA[<p>Thank you so much!  I&#8217;ve been looking for something like this for a long time.  I needed to send multiple attachments and was able to make a quick adjustment to do so:</p><p>$ uuencode r1.tar.gz r1.tar.gz &gt; /tmp/out.mail<br
/> $ uuencode r2.tar.gz r3.tar.gz &gt;&gt; /tmp/out.mail<br
/> $ uuencode r3.tar.gz r3.tar.gz &gt;&gt; /tmp/out.mail<br
/> $ cat email.txt &gt;&gt; /tmp/out.mail<br
/> $ mail -s &#8220;Reports” <a
href="mailto:user@my.somewhere.com">user@my.somewhere.com</a> &lt; /tmp/out.mail</p> ]]></content:encoded> </item> <item><title>By: Steve</title><link>http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-37568</link> <dc:creator>Steve</dc:creator> <pubDate>Wed, 05 Mar 2008 17:15:57 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-37568</guid> <description>Thank-you very much... exactly what I needed !</description> <content:encoded><![CDATA[<p>Thank-you very much&#8230; exactly what I needed !</p> ]]></content:encoded> </item> <item><title>By: Syed</title><link>http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-36795</link> <dc:creator>Syed</dc:creator> <pubDate>Thu, 06 Sep 2007 13:37:42 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/howto-unix-sending-files-as-mail-attachments/#comment-36795</guid> <description>Hi, the information was quite helpful. I was unable to send an attachement along with mail body. The above combination of cat and mail command helped me.
Thanks,</description> <content:encoded><![CDATA[<p>Hi, the information was quite helpful. I was unable to send an attachement along with mail body. The above combination of cat and mail command helped me.</p><p>Thanks,</p> ]]></content:encoded> </item> </channel> </rss>
