<?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: 4 Ways to Send Email Attachment from Linux Command Line	</title>
	<atom:link href="https://www.tecmint.com/send-email-attachment-from-linux-commandline/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/send-email-attachment-from-linux-commandline/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Thu, 13 Jul 2023 15:59:22 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Nils		</title>
		<link>https://www.tecmint.com/send-email-attachment-from-linux-commandline/comment-page-1/#comment-1832729</link>

		<dc:creator><![CDATA[Nils]]></dc:creator>
		<pubDate>Thu, 23 Jun 2022 13:33:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=23918#comment-1832729</guid>

					<description><![CDATA[From the &lt;strong&gt;mutt&lt;/strong&gt; man page:

When attaching single or multiple files, separating filenames and recipient addresses with &lt;code&gt;&quot;--&quot;&lt;/code&gt; is mandatory, e.g:
&lt;pre&gt;
$ mutt -a image.jpg  --  addr1  or mutt -a img.jpg *.png -- addr1 addr2.
&lt;/pre&gt;
The &lt;code&gt;-a&lt;/code&gt; option must be placed at the end of command line options.

So one has to place a double dash between attachment and recipient. Took me a bit to figure that out, maybe it helps someone else here]]></description>
			<content:encoded><![CDATA[<p>From the <strong>mutt</strong> man page:</p>
<p>When attaching single or multiple files, separating filenames and recipient addresses with <code>"--"</code> is mandatory, e.g:</p>
<pre>
$ mutt -a image.jpg  --  addr1  or mutt -a img.jpg *.png -- addr1 addr2.
</pre>
<p>The <code>-a</code> option must be placed at the end of command line options.</p>
<p>So one has to place a double dash between attachment and recipient. Took me a bit to figure that out, maybe it helps someone else here</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Plop		</title>
		<link>https://www.tecmint.com/send-email-attachment-from-linux-commandline/comment-page-1/#comment-1399803</link>

		<dc:creator><![CDATA[Plop]]></dc:creator>
		<pubDate>Thu, 10 Dec 2020 16:25:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=23918#comment-1399803</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/send-email-attachment-from-linux-commandline/comment-page-1/#comment-1349778&quot;&gt;RTFM&lt;/a&gt;.

&lt;code&gt;mailx -s &quot;Subject Here&quot; -a backup.zip user@example.com&lt;/code&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;-a&lt;/code&gt; is for headers&lt;/li&gt;
&lt;li&gt;&lt;code&gt;-A&lt;/code&gt; is for files&lt;/li&gt;
&lt;/ul&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/send-email-attachment-from-linux-commandline/comment-page-1/#comment-1349778">RTFM</a>.</p>
<p><code>mailx -s "Subject Here" -a backup.zip user@example.com</code></p>
<ul>
<li><code>-a</code> is for headers</li>
<li><code>-A</code> is for files</li>
</ul>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: jenrry soto dextre		</title>
		<link>https://www.tecmint.com/send-email-attachment-from-linux-commandline/comment-page-1/#comment-1398080</link>

		<dc:creator><![CDATA[jenrry soto dextre]]></dc:creator>
		<pubDate>Fri, 04 Dec 2020 13:51:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=23918#comment-1398080</guid>

					<description><![CDATA[Hello, I think it missing to configure a client as an account on google to permit send emails.]]></description>
			<content:encoded><![CDATA[<p>Hello, I think it missing to configure a client as an account on google to permit send emails.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: RTFM		</title>
		<link>https://www.tecmint.com/send-email-attachment-from-linux-commandline/comment-page-1/#comment-1349778</link>

		<dc:creator><![CDATA[RTFM]]></dc:creator>
		<pubDate>Mon, 03 Aug 2020 13:41:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=23918#comment-1349778</guid>

					<description><![CDATA[It&#039;s a lowercase &lt;code&gt;&#039;-a&#039;&lt;/code&gt; to attach a file, not upper.]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s a lowercase <code>'-a'</code> to attach a file, not upper.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: hobbit		</title>
		<link>https://www.tecmint.com/send-email-attachment-from-linux-commandline/comment-page-1/#comment-1303462</link>

		<dc:creator><![CDATA[hobbit]]></dc:creator>
		<pubDate>Sat, 07 Dec 2019 10:32:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=23918#comment-1303462</guid>

					<description><![CDATA[when I tried to install the commands which you shared on this link, It states error.

Could you guide me on what really I need to do?

following are the commands and error message:-

&lt;code&gt;~$ sudo apt-get install mailutils&lt;/code&gt;
sudo: error while loading shared libraries: libsudo_util.so.0: cannot open shared object file: No such file or directory
sudo: error while loading shared libraries: /usr/lib/sudo/libsudo_util.so.0: invalid ELF header]]></description>
			<content:encoded><![CDATA[<p>when I tried to install the commands which you shared on this link, It states error.</p>
<p>Could you guide me on what really I need to do?</p>
<p>following are the commands and error message:-</p>
<p><code>~$ sudo apt-get install mailutils</code><br />
sudo: error while loading shared libraries: libsudo_util.so.0: cannot open shared object file: No such file or directory<br />
sudo: error while loading shared libraries: /usr/lib/sudo/libsudo_util.so.0: invalid ELF header</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
