<?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: Sending email or mail with attachment from command or shell prompt</title> <atom:link href="http://www.cyberciti.biz/tips/sending-mail-with-attachment.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Bhargav tripathi</title><link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-178645</link> <dc:creator>Bhargav tripathi</dc:creator> <pubDate>Mon, 16 Jan 2012 10:12:12 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-178645</guid> <description>Hi,
I am using script for diskspcae in linux server and output is like alert that all team member should get mail as alert, when i install mutt i.e. up2date mutt .....command shows like temporary failure in name resolution so what should i do pls kindly help for same. ?????</description> <content:encoded><![CDATA[<p>Hi,</p><p>I am using script for diskspcae in linux server and output is like alert that all team member should get mail as alert, when i install mutt i.e. up2date mutt &#8230;..command shows like temporary failure in name resolution so what should i do pls kindly help for same. ?????</p> ]]></content:encoded> </item> <item><title>By: Larry</title><link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-175333</link> <dc:creator>Larry</dc:creator> <pubDate>Sun, 30 Oct 2011 16:58:55 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-175333</guid> <description>Use mutt -e &quot;set from=your@mail.jo&quot; -s &quot;test Mail” -a /home/jesper/Y.tar gvzfs@yahoo.dk &lt; t.txt</description> <content:encoded><![CDATA[<p>Use mutt -e &#8220;set from=your@mail.jo&#8221; -s &#8220;test Mail” -a /home/jesper/Y.tar <a
href="mailto:gvzfs@yahoo.dk">gvzfs@yahoo.dk</a> &lt; t.txt</p> ]]></content:encoded> </item> <item><title>By: Gail</title><link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-175084</link> <dc:creator>Gail</dc:creator> <pubDate>Fri, 21 Oct 2011 17:33:09 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-175084</guid> <description>Hi experts
I would like to send e-mail using command-line-mutt; but I&#039;d like it to read the recipients from the &quot;To:&quot; header in the file (in mailx, there is such an option: &quot;-t&quot;, like this: mailx -t &lt; filename, and then you don&#039;t need to specify recipients on the command line). How can it be done in mutt?</description> <content:encoded><![CDATA[<p>Hi experts<br
/> I would like to send e-mail using command-line-mutt; but I&#8217;d like it to read the recipients from the &#8220;To:&#8221; header in the file (in mailx, there is such an option: &#8220;-t&#8221;, like this: mailx -t &lt; filename, and then you don&#039;t need to specify recipients on the command line). How can it be done in mutt?</p> ]]></content:encoded> </item> <item><title>By: Ajay Shilwant</title><link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-174227</link> <dc:creator>Ajay Shilwant</dc:creator> <pubDate>Thu, 22 Sep 2011 07:02:54 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-174227</guid> <description>hi, friends....
it&#039;s possible to add date in subject...... dynamically.....</description> <content:encoded><![CDATA[<p>hi, friends&#8230;.<br
/> it&#8217;s possible to add date in subject&#8230;&#8230; dynamically&#8230;..</p> ]]></content:encoded> </item> <item><title>By: Jack</title><link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-174100</link> <dc:creator>Jack</dc:creator> <pubDate>Sun, 18 Sep 2011 20:52:27 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-174100</guid> <description>Using Vim:
Write all of the emails separated by commas to a text file, compose an email in mutt (specify yourself as the recipient), write the subject, etc. When you&#039;re finished, write and quit, then hit E to edit the headers. Scroll down to CC: and then type :r . Your addresses should appear on the next line, so scroll to that line and hit backspace. Ta-da! Magic. :)</description> <content:encoded><![CDATA[<p>Using Vim:</p><p>Write all of the emails separated by commas to a text file, compose an email in mutt (specify yourself as the recipient), write the subject, etc. When you&#8217;re finished, write and quit, then hit E to edit the headers. Scroll down to CC: and then type :r . Your addresses should appear on the next line, so scroll to that line and hit backspace. Ta-da! Magic. :)</p> ]]></content:encoded> </item> <item><title>By: jidnesh_b</title><link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-173780</link> <dc:creator>jidnesh_b</dc:creator> <pubDate>Thu, 08 Sep 2011 12:47:33 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-173780</guid> <description>You can define a variable with recipient mentioned as coma separated values.
Emails=xyz@abc.com, pqr@abc.com
mutt -s “Test Mail” -a attach1 -a attach2 -a attach3 -- $Emails</description> <content:encoded><![CDATA[<p>You can define a variable with recipient mentioned as coma separated values.</p><p>Emails=xyz@abc.com, <a
href="mailto:pqr@abc.com">pqr@abc.com</a><br
/> mutt -s “Test Mail” -a attach1 -a attach2 -a attach3 &#8212; $Emails</p> ]]></content:encoded> </item> <item><title>By: nate</title><link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-173545</link> <dc:creator>nate</dc:creator> <pubDate>Thu, 25 Aug 2011 11:09:34 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-173545</guid> <description>How can I get MUTT to send as an HTML email? I can attatch the html document but I want to have it viewed as soon as you look at it.. instead of seing all the text HTML tags.</description> <content:encoded><![CDATA[<p>How can I get MUTT to send as an HTML email? I can attatch the html document but I want to have it viewed as soon as you look at it.. instead of seing all the text HTML tags.</p> ]]></content:encoded> </item> <item><title>By: squeezeoj</title><link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-173118</link> <dc:creator>squeezeoj</dc:creator> <pubDate>Sun, 07 Aug 2011 10:51:43 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-173118</guid> <description>I had a similar problem: it would run from the command line while I was logged-in but running it as a cron job always failed.  After some testing I decided the problem had to do with not being the same user under cron as I was at the command line.  I&#039;m not sure about the exact steps to fix it, but I&#039;d look in that direction.</description> <content:encoded><![CDATA[<p>I had a similar problem: it would run from the command line while I was logged-in but running it as a cron job always failed.  After some testing I decided the problem had to do with not being the same user under cron as I was at the command line.  I&#8217;m not sure about the exact steps to fix it, but I&#8217;d look in that direction.</p> ]]></content:encoded> </item> <item><title>By: rocket raja</title><link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-173105</link> <dc:creator>rocket raja</dc:creator> <pubDate>Sat, 06 Aug 2011 18:23:09 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-173105</guid> <description>Grr.. mutt is not working when i put my script in cron..!!</description> <content:encoded><![CDATA[<p>Grr.. mutt is not working when i put my script in cron..!!</p> ]]></content:encoded> </item> <item><title>By: meddy</title><link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-172323</link> <dc:creator>meddy</dc:creator> <pubDate>Thu, 07 Jul 2011 09:21:44 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-172323</guid> <description>hulo,i hav just instaled mutt but dont even no how to start it,how to configure it 2 read from mi email account,ani help will b apreciated\</description> <content:encoded><![CDATA[<p>hulo,i hav just instaled mutt but dont even no how to start it,how to configure it 2 read from mi email account,ani help will b apreciated\</p> ]]></content:encoded> </item> <item><title>By: JULIO VEIRA</title><link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-172016</link> <dc:creator>JULIO VEIRA</dc:creator> <pubDate>Sun, 19 Jun 2011 15:24:45 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-172016</guid> <description>The mutt program is super cool this line is part of a script I did that make a backup of all my SQL Server Info and send it to my email. Because I have a High protection for Spam this email always go to junk. I also got a POP3 account in my work and there I have no problem also I receive it in my iPhone 3GS. This is the hell of a tool. THanks for sharing this with us.
&lt;pre&gt;#Email will be send to my yahoo.com account.
mutt -s &quot;MySql Server Database backup files&quot; myemail@yahoo.com &lt; /home/julio/dbbak/message.txt -a /home/julio/dbbak/mydbs.zip
#Email will be send to my pop3 company account.
mutt -s &quot;MySql Server Database backup files&quot; myemail@companypop3account.com &lt; /home/julio/dbbak/message.txt -a /home/julio/dbbak/mydbs.zip
&lt;/pre&gt;</description> <content:encoded><![CDATA[<p>The mutt program is super cool this line is part of a script I did that make a backup of all my SQL Server Info and send it to my email. Because I have a High protection for Spam this email always go to junk. I also got a POP3 account in my work and there I have no problem also I receive it in my iPhone 3GS. This is the hell of a tool. THanks for sharing this with us.</p><pre>#Email will be send to my yahoo.com account.
mutt -s "MySql Server Database backup files" <a href="mailto:myemail@yahoo.com">myemail@yahoo.com</a> &lt; /home/julio/dbbak/message.txt -a /home/julio/dbbak/mydbs.zip
#Email will be send to my pop3 company account.
mutt -s &quot;MySql Server Database backup files&quot; <a href="mailto:myemail@companypop3account.com">myemail@companypop3account.com</a> &lt; /home/julio/dbbak/message.txt -a /home/julio/dbbak/mydbs.zip
</pre>]]></content:encoded> </item> <item><title>By: SqueezeOJ</title><link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-172006</link> <dc:creator>SqueezeOJ</dc:creator> <pubDate>Sat, 18 Jun 2011 15:46:41 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-172006</guid> <description>Answered my own question!
Need to use Single Quotes rather than Double Quotes around $mySUBJECT.  For example this works:
&lt;pre&gt;
#!/bin/bash
mySUBJECT=”No Errors in Log File”
mutt -s &#039;$mySUBJECT&#039; me@mycompany.com &lt; Nightly-Backup-Log.txt
exit 0
&lt;/pre&gt;
Hope it helps someone!</description> <content:encoded><![CDATA[<p>Answered my own question!</p><p>Need to use Single Quotes rather than Double Quotes around $mySUBJECT.  For example this works:</p><pre>
#!/bin/bash
mySUBJECT=”No Errors in Log File”
mutt -s '$mySUBJECT' <a href="mailto:me@mycompany.com">me@mycompany.com</a> &lt; Nightly-Backup-Log.txt
exit 0
</pre><p>Hope it helps someone!</p> ]]></content:encoded> </item> <item><title>By: SqueezeOJ</title><link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-172005</link> <dc:creator>SqueezeOJ</dc:creator> <pubDate>Sat, 18 Jun 2011 15:41:12 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-172005</guid> <description>How do I use a Variable Subject.  For example:
&lt;pre&gt;
#!/bin/bash
mySUBJECT=&quot;No Errors in Log File&quot;
mutt -s &quot;$mySUBJECT&quot; you@example.com &lt; Nightly-Backup-Log.txt
exit 0
&lt;/pre&gt;
This always hangs and thus fails.  But typing-in the same string where $mySUBJECT is works fine.  Could someone tell me what I&#039;m doing wrong?
Thanks!</description> <content:encoded><![CDATA[<p>How do I use a Variable Subject.  For example:</p><pre>
#!/bin/bash
mySUBJECT="No Errors in Log File"
mutt -s "$mySUBJECT" <a href="mailto:you@example.com">you@example.com</a> &lt; Nightly-Backup-Log.txt
exit 0
</pre><p>This always hangs and thus fails.  But typing-in the same string where $mySUBJECT is works fine.  Could someone tell me what I&#039;m doing wrong?</p><p>Thanks!</p> ]]></content:encoded> </item> <item><title>By: Martin</title><link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-171388</link> <dc:creator>Martin</dc:creator> <pubDate>Wed, 18 May 2011 18:16:22 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-171388</guid> <description>Is it possible to specify a different name for an attachment than the actual file name? For instance, we have many programs the call the mutt command and send files with extensions that our recipient&#039;s PCs don&#039;t recognize. It would be nice to be able to rename the attachment in mutt without having to actually modify the source file.
Thanks,
Martin</description> <content:encoded><![CDATA[<p>Is it possible to specify a different name for an attachment than the actual file name? For instance, we have many programs the call the mutt command and send files with extensions that our recipient&#8217;s PCs don&#8217;t recognize. It would be nice to be able to rename the attachment in mutt without having to actually modify the source file.</p><p>Thanks,</p><p>Martin</p> ]]></content:encoded> </item> <item><title>By: Julio Virea</title><link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-171071</link> <dc:creator>Julio Virea</dc:creator> <pubDate>Sun, 01 May 2011 18:35:11 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-171071</guid> <description>Check your bulk mail. I am using it and my emails when are sent out of the computer goes in the &quot;from: www-data&quot; so yahoo take the email as spam and if your settings in yahoo.com is to delete all spam then is deleting it. Try using another email a POP account. It will work like charm.</description> <content:encoded><![CDATA[<p>Check your bulk mail. I am using it and my emails when are sent out of the computer goes in the &#8220;from: www-data&#8221; so yahoo take the email as spam and if your settings in yahoo.com is to delete all spam then is deleting it. Try using another email a POP account. It will work like charm.</p> ]]></content:encoded> </item> <item><title>By: Bartox</title><link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-170060</link> <dc:creator>Bartox</dc:creator> <pubDate>Sat, 19 Mar 2011 00:31:40 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-170060</guid> <description>Actually I was looking at the wrong place. The attachment size limit is not controlled by mutt else the smpt server itself, in my case postfix.
If somebody is having this same issue, just go the postfix config file at /etc/postfix/main.cf (on RedHat based kernels) and look for this directive: message_size_limit (or add it to the end if it&#039;s not in there) and just increase the value to: message_size_limit = 20480000 (20 MB for example).
Hope that helps.</description> <content:encoded><![CDATA[<p>Actually I was looking at the wrong place. The attachment size limit is not controlled by mutt else the smpt server itself, in my case postfix.</p><p>If somebody is having this same issue, just go the postfix config file at /etc/postfix/main.cf (on RedHat based kernels) and look for this directive: message_size_limit (or add it to the end if it&#8217;s not in there) and just increase the value to: message_size_limit = 20480000 (20 MB for example).</p><p>Hope that helps.</p> ]]></content:encoded> </item> <item><title>By: Edmund</title><link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-169885</link> <dc:creator>Edmund</dc:creator> <pubDate>Tue, 15 Mar 2011 23:55:03 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-169885</guid> <description>can this run as a portable application from a UNC path</description> <content:encoded><![CDATA[<p>can this run as a portable application from a UNC path</p> ]]></content:encoded> </item> <item><title>By: Edmund</title><link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-169884</link> <dc:creator>Edmund</dc:creator> <pubDate>Tue, 15 Mar 2011 23:52:15 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-169884</guid> <description>Ha Ha Ha ! excuse me, Not laughing at you but that was just a suggestion, you obviously kno much more than me.</description> <content:encoded><![CDATA[<p>Ha Ha Ha ! excuse me, Not laughing at you but that was just a suggestion, you obviously kno much more than me.</p> ]]></content:encoded> </item> <item><title>By: Bartox</title><link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-169850</link> <dc:creator>Bartox</dc:creator> <pubDate>Tue, 15 Mar 2011 02:27:24 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-169850</guid> <description>Yes, I forgot to mention it&#039;s a file compressed with LZMA algorithm which is the highest compression level around. My server OS is Linux/RedHat. I just need to know if mutt is capable to send bigger than ~10 MB attachment, the current backup file that I am getting is about ~7 Mb but with headers it just become into a 10 Mb. As I said I research about it, I read the config file and nothing yet.
Appreciate your help.</description> <content:encoded><![CDATA[<p>Yes, I forgot to mention it&#8217;s a file compressed with LZMA algorithm which is the highest compression level around. My server OS is Linux/RedHat. I just need to know if mutt is capable to send bigger than ~10 MB attachment, the current backup file that I am getting is about ~7 Mb but with headers it just become into a 10 Mb. As I said I research about it, I read the config file and nothing yet.<br
/> Appreciate your help.</p> ]]></content:encoded> </item> <item><title>By: Edmund</title><link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-169779</link> <dc:creator>Edmund</dc:creator> <pubDate>Fri, 11 Mar 2011 22:46:27 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-169779</guid> <description>Is it zipped?</description> <content:encoded><![CDATA[<p>Is it zipped?</p> ]]></content:encoded> </item> </channel> </rss>
