<?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/"
	xmlns:series="http://unfoldingneurons.com/"
		>
<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>Wed, 17 Mar 2010 22:30:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Yosi</title>
		<link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-154305</link>
		<dc:creator>Yosi</dc:creator>
		<pubDate>Mon, 15 Mar 2010 21:24:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-154305</guid>
		<description>Thanks for the article, helped me a lot. (the sending part)

Cheers,
Yosi</description>
		<content:encoded><![CDATA[<p>Thanks for the article, helped me a lot. (the sending part)</p>
<p>Cheers,<br />
Yosi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gavrilo Princep</title>
		<link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-153961</link>
		<dc:creator>Gavrilo Princep</dc:creator>
		<pubDate>Fri, 26 Feb 2010 17:18:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-153961</guid>
		<description>forgot to add, these are all edits to the /etc/Muttrc file, or your .muttrc equavalent</description>
		<content:encoded><![CDATA[<p>forgot to add, these are all edits to the /etc/Muttrc file, or your .muttrc equavalent</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gavrilo Princep</title>
		<link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-153960</link>
		<dc:creator>Gavrilo Princep</dc:creator>
		<pubDate>Fri, 26 Feb 2010 17:16:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-153960</guid>
		<description>Just spent a couple of hours working this out.

The mutt way to set the from address and name  in mutt is ;
&lt;code&gt;
mutt -e &quot;unmy_hdr from; my_hdr From: rmcdonald@supersize.com.au\&quot;
        -e &quot;set realname=\&quot;Ronald McDonald\&quot;  &quot;   \
        -s &quot;this is the subject line ...  &quot; \
        -a attachmentfile.txt  -a anotherFile.doc\
        -- ttttoooo@toAddress.co.uk &lt; bodyOfEmail.txt
&lt;/code&gt;
Note that the -e &quot;command&quot; lets you do any set, unsets, or mutt configurations


-----------

For the record, the other approaches to customising From addresses (and by extention other attributes) are as follows.

I have listed all the methods that mutt make available, though two of them don&#039;t work. 

--------------------------------------------------------------------------
Method 3 works, #2 half works, method #1 and 4 don&#039;t  work.

&lt;code&gt;
#from method #1
set use_envelope_from=yes
set envelope_from_address=&quot;muttrc@yourApparentDomain.co.uk&quot;
# NOTE : use_from defaults to yes, so that mutt forces the from address
# ***THIS IS THE CAUSE OF PEOPLE GETTING myaccountname AS THEIR 
# *** FROM ADDRESS


# from method #2 : 
# use_from=no works.   Now the MTA, e.g. ssmtp sets the from address
set use_from=no
# however, the set_from DOESNT WORK.
set from=&quot;set_from@yourApparentDomain.co.uk&quot;    # doesn&#039;t work


# from method #3
# this is the approach to use. See my command line example
# you must use the my_hdr to set a new from address.  See 4
unmy_hdr from
my_hdr From:&quot;fromEmailAddress@mydomain.info.us&quot;


# from method #4 : let the MTA set the from address
# doesn&#039;t work. Mutt fails to remove the from header line. 
 unmy_hdr from
----------------------------------------
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Just spent a couple of hours working this out.</p>
<p>The mutt way to set the from address and name  in mutt is ;<br />
<code><br />
mutt -e "unmy_hdr from; my_hdr From: <a href="mailto:rmcdonald@supersize.com.au">rmcdonald@supersize.com.au</a>\"<br />
        -e "set realname=\"Ronald McDonald\"  "   \<br />
        -s "this is the subject line ...  " \<br />
        -a attachmentfile.txt  -a anotherFile.doc\<br />
        -- <a href="mailto:ttttoooo@toAddress.co.uk">ttttoooo@toAddress.co.uk</a> &lt; bodyOfEmail.txt<br />
</code><br />
Note that the -e &#8220;command&#8221; lets you do any set, unsets, or mutt configurations</p>
<p>&#8212;&#8212;&#8212;&#8211;</p>
<p>For the record, the other approaches to customising From addresses (and by extention other attributes) are as follows.</p>
<p>I have listed all the methods that mutt make available, though two of them don&#8217;t work. </p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
Method 3 works, #2 half works, method #1 and 4 don&#8217;t  work.</p>
<p><code><br />
#from method #1<br />
set use_envelope_from=yes<br />
set envelope_from_address="muttrc@yourApparentDomain.co.uk"<br />
# NOTE : use_from defaults to yes, so that mutt forces the from address<br />
# ***THIS IS THE CAUSE OF PEOPLE GETTING myaccountname AS THEIR<br />
# *** FROM ADDRESS</p>
<p># from method #2 :<br />
# use_from=no works.   Now the MTA, e.g. ssmtp sets the from address<br />
set use_from=no<br />
# however, the set_from DOESNT WORK.<br />
set from="set_from@yourApparentDomain.co.uk"    # doesn't work</p>
<p># from method #3<br />
# this is the approach to use. See my command line example<br />
# you must use the my_hdr to set a new from address.  See 4<br />
unmy_hdr from<br />
my_hdr From:"fromEmailAddress@mydomain.info.us"</p>
<p># from method #4 : let the MTA set the from address<br />
# doesn't work. Mutt fails to remove the from header line.<br />
 unmy_hdr from<br />
----------------------------------------<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lsi</title>
		<link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-153245</link>
		<dc:creator>lsi</dc:creator>
		<pubDate>Sat, 30 Jan 2010 14:01:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-153245</guid>
		<description>attempt 3:

&lt;b&gt;export EMAIL=&quot;My Name &lt;email@protected&gt;&quot;&lt;/b&gt;

eg. it is &quot;My Name (less-than-sign)email@protected(greater-than-sign)&quot;</description>
		<content:encoded><![CDATA[<p>attempt 3:</p>
<p><b>export EMAIL=&#8221;My Name &lt;email@protected&gt;&#8221;</b></p>
<p>eg. it is &#8220;My Name (less-than-sign)email@protected(greater-than-sign)&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lsi</title>
		<link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-153240</link>
		<dc:creator>lsi</dc:creator>
		<pubDate>Sat, 30 Jan 2010 03:45:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-153240</guid>
		<description>(note, board munged code a bit, try again:

&lt;b&gt;export EMAIL=&quot;My Name &quot;&lt;/b&gt;</description>
		<content:encoded><![CDATA[<p>(note, board munged code a bit, try again:</p>
<p><b>export EMAIL=&#8221;My Name &#8220;</b></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lsi</title>
		<link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-153239</link>
		<dc:creator>lsi</dc:creator>
		<pubDate>Sat, 30 Jan 2010 03:42:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-153239</guid>
		<description>hey nice thread, i got this working with from field set as I desire, from a shell script as follows:
&lt;code&gt;
        ${TARGETEMAIL}=&quot;target@protected&quot;
        export EMAIL=&quot;My Name &quot;
        export REPLYTO=&quot;email@protected&quot;
        echo &quot;body text&quot; &#124; mutt -e &#039;set envelope_from&#039; -a /filename.gif -s &quot;subject&quot; ${TARGETEMAIL}
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>hey nice thread, i got this working with from field set as I desire, from a shell script as follows:<br />
<code><br />
        ${TARGETEMAIL}="target@protected"<br />
        export EMAIL="My Name "<br />
        export REPLYTO="email@protected"<br />
        echo "body text" | mutt -e 'set envelope_from' -a /filename.gif -s "subject" ${TARGETEMAIL}<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-152956</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Sun, 17 Jan 2010 01:26:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-152956</guid>
		<description>How can you mutt only the newest file from a particular directory in a bash script?</description>
		<content:encoded><![CDATA[<p>How can you mutt only the newest file from a particular directory in a bash script?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andres Kwan</title>
		<link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-151886</link>
		<dc:creator>Andres Kwan</dc:creator>
		<pubDate>Fri, 27 Nov 2009 00:35:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-151886</guid>
		<description>Thanks guys, with your help I did solve the problem
&quot;Can&#039;t stat email@gmail.com: No such file or directory
email@gmail.com: unable to attach file.&quot;</description>
		<content:encoded><![CDATA[<p>Thanks guys, with your help I did solve the problem<br />
&#8220;Can&#8217;t stat <a href="mailto:email@gmail.com">email@gmail.com</a>: No such file or directory<br />
<a href="mailto:email@gmail.com">email@gmail.com</a>: unable to attach file.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vrc</title>
		<link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-151687</link>
		<dc:creator>vrc</dc:creator>
		<pubDate>Sun, 15 Nov 2009 03:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-151687</guid>
		<description>Hi...
I am working on ubuntu. i did install mutt and when i typed                                              mutt -s &quot;hello&quot; mymail@gmail.com in my terminal a nano editor came up and i manually had to proceed the process of sending the mail...finally it attached a file from my /tmp folder in which the contents were buffered and this file was sent...
i just want to automate the entire process without any human intervention...
Can someone please help me out in automating the entire process...
thanks</description>
		<content:encoded><![CDATA[<p>Hi&#8230;<br />
I am working on ubuntu. i did install mutt and when i typed                                              mutt -s &#8220;hello&#8221; <a href="mailto:mymail@gmail.com">mymail@gmail.com</a> in my terminal a nano editor came up and i manually had to proceed the process of sending the mail&#8230;finally it attached a file from my /tmp folder in which the contents were buffered and this file was sent&#8230;<br />
i just want to automate the entire process without any human intervention&#8230;<br />
Can someone please help me out in automating the entire process&#8230;<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fun Nepali Games</title>
		<link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-151638</link>
		<dc:creator>Fun Nepali Games</dc:creator>
		<pubDate>Thu, 12 Nov 2009 11:48:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-151638</guid>
		<description>Hi Ken, thank you for your help. I had come up with this syntax to fix my issue.

shell_exec(”export EMAIL=\”from@email.com\”; export REPLYTO=\”from@email.com\”; echo ‘email text’ &#124; mutt -n -e &#039;set envelope_from_address=\&quot;from@email.com\&quot;&#039; -e &#039;set realname=\&quot;My Company Name\&quot;&#039; -s ‘email subject’ -a ‘/attachment/file.pdf’ to@email.com“);</description>
		<content:encoded><![CDATA[<p>Hi Ken, thank you for your help. I had come up with this syntax to fix my issue.</p>
<p>shell_exec(”export EMAIL=\”from@email.com\”; export REPLYTO=\”from@email.com\”; echo ‘email text’ | mutt -n -e &#8217;set envelope_from_address=\&#8221;from@email.com\&#8221;&#8216; -e &#8217;set realname=\&#8221;My Company Name\&#8221;&#8216; -s ‘email subject’ -a ‘/attachment/file.pdf’ <a href="mailto:to@email.com">to@email.com</a>“);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken</title>
		<link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-151631</link>
		<dc:creator>Ken</dc:creator>
		<pubDate>Thu, 12 Nov 2009 04:16:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-151631</guid>
		<description>Hi Fun Nepali Games/ Maroun,

Use this command format to set the from name and the from email to whatever you want:
export EMAIL=&#039;&lt;i&gt;from name&lt;/i&gt;&lt;&lt;i&gt;from email address&lt;/i&gt;&gt;&#039;; echo &#039;&lt;i&gt;email body text&lt;/i&gt;&#039; &#124; mutt -a &#039;&lt;i&gt;attachment file&lt;/i&gt;&#039; -s &#039;&lt;i&gt;subject&lt;/i&gt;&#039; &lt;i&gt;recipient address&lt;/i&gt;

Hope I helped! Greetings</description>
		<content:encoded><![CDATA[<p>Hi Fun Nepali Games/ Maroun,</p>
<p>Use this command format to set the from name and the from email to whatever you want:<br />
export EMAIL=&#8217;<i>from name</i>&lt;<i>from email address</i>&gt;&#8217;; echo &#8216;<i>email body text</i>&#8216; | mutt -a &#8216;<i>attachment file</i>&#8216; -s &#8216;<i>subject</i>&#8216; <i>recipient address</i></p>
<p>Hope I helped! Greetings</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maroun</title>
		<link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-151239</link>
		<dc:creator>Maroun</dc:creator>
		<pubDate>Mon, 26 Oct 2009 14:17:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-151239</guid>
		<description>Hi,

I need a favor, I am using mutt command to send an email and everything is working fine, but as you know when email arrived to the proper person, the email is coming from internal name of the instance of the server (e.g From: XX@servername.companyname.extension), can we put an constanct alias for &#039;from email account&#039;, I mean from: payables@companyname.net for example. I think this is an internal linux parameters structure?

Thanks
Maroun</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I need a favor, I am using mutt command to send an email and everything is working fine, but as you know when email arrived to the proper person, the email is coming from internal name of the instance of the server (e.g From: <a href="mailto:XX@servername.companyname.extension">XX@servername.companyname.extension</a>), can we put an constanct alias for &#8216;from email account&#8217;, I mean from: <a href="mailto:payables@companyname.net">payables@companyname.net</a> for example. I think this is an internal linux parameters structure?</p>
<p>Thanks<br />
Maroun</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fun Nepali Games</title>
		<link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-151040</link>
		<dc:creator>Fun Nepali Games</dc:creator>
		<pubDate>Tue, 13 Oct 2009 21:50:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-151040</guid>
		<description>How to specify &quot;from name&quot; when sending email thru mutt? I am using php cli to send email and I could only set the &quot;from email&quot;, and not the &quot;from name&quot;. Here is my php statement with mutt command:

shell_exec(&quot;export EMAIL=\&quot;from@email.com\&quot;; echo &#039;email text&#039; &#124; mutt -s &#039;email subject&#039; -a &#039;/attachment/file.pdf&#039; to@email.com&quot;);

When I ran this php program, the recepient receives email like this:   
From: &quot;My Real Name&quot; 

But I want &quot;My Company Name&quot;  to show in the From: line. Where to specify this when running mutt ?</description>
		<content:encoded><![CDATA[<p>How to specify &#8220;from name&#8221; when sending email thru mutt? I am using php cli to send email and I could only set the &#8220;from email&#8221;, and not the &#8220;from name&#8221;. Here is my php statement with mutt command:</p>
<p>shell_exec(&#8220;export EMAIL=\&#8221;from@email.com\&#8221;; echo &#8216;email text&#8217; | mutt -s &#8216;email subject&#8217; -a &#8216;/attachment/file.pdf&#8217; <a href="mailto:to@email.com">to@email.com</a>&#8220;);</p>
<p>When I ran this php program, the recepient receives email like this:<br />
From: &#8220;My Real Name&#8221; </p>
<p>But I want &#8220;My Company Name&#8221;  to show in the From: line. Where to specify this when running mutt ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lien</title>
		<link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-150966</link>
		<dc:creator>lien</dc:creator>
		<pubDate>Tue, 06 Oct 2009 15:36:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-150966</guid>
		<description>What an excellent tool. I have been looking for something like this for ages!</description>
		<content:encoded><![CDATA[<p>What an excellent tool. I have been looking for something like this for ages!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sanil</title>
		<link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-150956</link>
		<dc:creator>Sanil</dc:creator>
		<pubDate>Tue, 06 Oct 2009 05:14:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-150956</guid>
		<description>if you want to send  the contents  of a  text file from the shell prompt do the following.

# mail -s &quot;subject of the mail&quot;    me@me.com &lt; textfile.txt</description>
		<content:encoded><![CDATA[<p>if you want to send  the contents  of a  text file from the shell prompt do the following.</p>
<p># mail -s &#8220;subject of the mail&#8221;    <a href="mailto:me@me.com">me@me.com</a> &lt; textfile.txt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Murali</title>
		<link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-150667</link>
		<dc:creator>Murali</dc:creator>
		<pubDate>Wed, 16 Sep 2009 06:07:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-150667</guid>
		<description>Hi 

This e-mail (mutt) utility looks very useful, I would like to use it on AIX, can any one let me know how I could install this utility on AIX and use it.

Thank you

Regards
Murali</description>
		<content:encoded><![CDATA[<p>Hi </p>
<p>This e-mail (mutt) utility looks very useful, I would like to use it on AIX, can any one let me know how I could install this utility on AIX and use it.</p>
<p>Thank you</p>
<p>Regards<br />
Murali</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ram</title>
		<link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-149737</link>
		<dc:creator>ram</dc:creator>
		<pubDate>Wed, 29 Jul 2009 05:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-149737</guid>
		<description>Hi,

when i am sending a mail with pdf attachment  thru mailx utility on MS Outlook than it wooks fine but whenver i am sending the same to rediff/gamil/yahoo than instead of pdf attachment it is sending junk characters,please advice.
uuencode  xx_file.pdf xx_file.pdf&#124; mailx –s  &quot;Subject of mail&quot;  &quot;mail_id&quot;
 i am using the above command.

please suggets to do the same.

ram</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>when i am sending a mail with pdf attachment  thru mailx utility on MS Outlook than it wooks fine but whenver i am sending the same to rediff/gamil/yahoo than instead of pdf attachment it is sending junk characters,please advice.<br />
uuencode  xx_file.pdf xx_file.pdf| mailx –s  &#8220;Subject of mail&#8221;  &#8220;mail_id&#8221;<br />
 i am using the above command.</p>
<p>please suggets to do the same.</p>
<p>ram</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-149330</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Sat, 04 Jul 2009 22:31:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-149330</guid>
		<description>in debian lenny:
mutt -s &quot;subject&quot; -a file1 file2 file3 -- email@gmail.com &lt; email-text.file

between attachments and recipients need to putt double dash and files for attachment with out anything

with out double dash wroute:
&quot;Can&#039;t stat email@gmail.com: No such file or directory
email@gmail.com: unable to attach file.&quot;

because it&#039;s thinking that email@gmail.com it&#039;s one more attachemt file )))

Hope it&#039;s help you )))</description>
		<content:encoded><![CDATA[<p>in debian lenny:<br />
mutt -s &#8220;subject&#8221; -a file1 file2 file3 &#8212; <a href="mailto:email@gmail.com">email@gmail.com</a> &lt; email-text.file</p>
<p>between attachments and recipients need to putt double dash and files for attachment with out anything</p>
<p>with out double dash wroute:<br />
&quot;Can&#039;t stat <a href="mailto:email@gmail.com">email@gmail.com</a>: No such file or directory<br />
<a href="mailto:email@gmail.com">email@gmail.com</a>: unable to attach file.&quot;</p>
<p>because it&#039;s thinking that <a href="mailto:email@gmail.com">email@gmail.com</a> it&#039;s one more attachemt file )))</p>
<p>Hope it&#039;s help you )))</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amritesh</title>
		<link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-149002</link>
		<dc:creator>Amritesh</dc:creator>
		<pubDate>Thu, 18 Jun 2009 12:26:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-149002</guid>
		<description>Actually I am using proxy server to access internet
i did 
 export http_proxy=&quot;http://10.100.100.172:3128/&quot;
and 
 export http_proxy=http://10.100.100.172:3128/
to configure proxy
then
 mutt -s &quot;Test mail&quot; -a /root/amritesh/rs.txt amriteshsmsc@gmail.com &lt; /root/amritesh/gw.txt
to send mail but it wont work plz guide me what to do...?</description>
		<content:encoded><![CDATA[<p>Actually I am using proxy server to access internet<br />
i did<br />
 export http_proxy=&#8221;http://10.100.100.172:3128/&#8221;<br />
and<br />
 export http_proxy=http://10.100.100.172:3128/<br />
to configure proxy<br />
then<br />
 mutt -s &#8220;Test mail&#8221; -a /root/amritesh/rs.txt <a href="mailto:amriteshsmsc@gmail.com">amriteshsmsc@gmail.com</a> &lt; /root/amritesh/gw.txt<br />
to send mail but it wont work plz guide me what to do&#8230;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prudhvi raj</title>
		<link>http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-148568</link>
		<dc:creator>Prudhvi raj</dc:creator>
		<pubDate>Fri, 15 May 2009 11:47:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/sending-mail-with-attachment.html#comment-148568</guid>
		<description>Sam,
if u want to send certian text in body instead of using a body file then go for this: 
#&gt; echo -e &quot;This is the body message of the email&quot; &#124; mutt -a server.key raj@alpha.xion.com -s &quot;This is the email subject&quot;</description>
		<content:encoded><![CDATA[<p>Sam,<br />
if u want to send certian text in body instead of using a body file then go for this:<br />
#&gt; echo -e &#8220;This is the body message of the email&#8221; | mutt -a server.key <a href="mailto:raj@alpha.xion.com">raj@alpha.xion.com</a> -s &#8220;This is the email subject&#8221;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.130 seconds -->
<!-- Cached page served by WP-Cache -->
