<?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: Download email attachments in .NET</title>
	<atom:link href="http://www.limilabs.com/blog/download-email-attachments-net/feed" rel="self" type="application/rss+xml" />
	<link>http://www.limilabs.com/blog/download-email-attachments-net?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=download-email-attachments-net</link>
	<description></description>
	<lastBuildDate>Tue, 15 May 2012 13:28:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Limilabs support</title>
		<link>http://www.limilabs.com/blog/download-email-attachments-net#comment-12827</link>
		<dc:creator>Limilabs support</dc:creator>
		<pubDate>Tue, 15 May 2012 13:28:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.limilabs.com/blog/?p=258#comment-12827</guid>
		<description>@Archana,

&gt; I get a error message that the UID does not exists
Most likely you are trying to download this message for a second time.
Gmail&#039;s POP3 behavior is quite different from other POP3 servers (http://www.limilabs.com/blog/gmail-pop3-behavior)
I strongly advise you to use IMAP, it&#039;s going to by much easier for you and you&#039;ll be able to access other folders.

To access different folder than Inbox you need to use IMAP protocol:
http://www.limilabs.com/blog/folder-access-with-imap</description>
		<content:encoded><![CDATA[<p>@Archana,</p>
<p>&gt; I get a error message that the UID does not exists<br />
Most likely you are trying to download this message for a second time.<br />
Gmail&#8217;s POP3 behavior is quite different from other POP3 servers (<a href="http://www.limilabs.com/blog/gmail-pop3-behavior" rel="nofollow">http://www.limilabs.com/blog/gmail-pop3-behavior</a>)<br />
I strongly advise you to use IMAP, it&#8217;s going to by much easier for you and you&#8217;ll be able to access other folders.</p>
<p>To access different folder than Inbox you need to use IMAP protocol:<br />
<a href="http://www.limilabs.com/blog/folder-access-with-imap" rel="nofollow">http://www.limilabs.com/blog/folder-access-with-imap</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Archana</title>
		<link>http://www.limilabs.com/blog/download-email-attachments-net#comment-12787</link>
		<dc:creator>Archana</dc:creator>
		<pubDate>Tue, 15 May 2012 09:16:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.limilabs.com/blog/?p=258#comment-12787</guid>
		<description>Hi,

Your dll is great, but there is a problem that I am facing.
I have added the save attachment option on a button click event:

&lt;code&gt;
pop3.ConnectSSL(&quot;pop.gmail.com&quot;);
pop3.UseBestLogin(&quot;username&quot;, &quot;password&quot;);

IMail email = new MailBuilder().CreateFromEml(
    pop3.GetMessageByUID(lst.SelectedValue));

foreach (MimeData attachment in email.Attachments)
{
    if (attachment.FileName == lblAttachment.Text)
    {
        attachment.Save(&quot;c:\\&quot; + attachment.SafeFileName);
    }
}
pop3.Close();
&lt;/code&gt;

but I get a error message that the UID does not exists, and also how do I access the sent mails (sent items)</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Your dll is great, but there is a problem that I am facing.<br />
I have added the save attachment option on a button click event:</p>
<p><code><br />
pop3.ConnectSSL("pop.gmail.com");<br />
pop3.UseBestLogin("username", "password");</p>
<p>IMail email = new MailBuilder().CreateFromEml(<br />
    pop3.GetMessageByUID(lst.SelectedValue));</p>
<p>foreach (MimeData attachment in email.Attachments)<br />
{<br />
    if (attachment.FileName == lblAttachment.Text)<br />
    {<br />
        attachment.Save("c:\\" + attachment.SafeFileName);<br />
    }<br />
}<br />
pop3.Close();<br />
</code></p>
<p>but I get a error message that the UID does not exists, and also how do I access the sent mails (sent items)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Limilabs support</title>
		<link>http://www.limilabs.com/blog/download-email-attachments-net#comment-10982</link>
		<dc:creator>Limilabs support</dc:creator>
		<pubDate>Fri, 04 May 2012 08:26:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.limilabs.com/blog/?p=258#comment-10982</guid>
		<description>@Rajkumar

You need to download and add a reference to Mail.dll IMAP library:
http://www.limilabs.com/mail/download</description>
		<content:encoded><![CDATA[<p>@Rajkumar</p>
<p>You need to download and add a reference to Mail.dll IMAP library:<br />
<a href="http://www.limilabs.com/mail/download" rel="nofollow">http://www.limilabs.com/mail/download</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajkumar</title>
		<link>http://www.limilabs.com/blog/download-email-attachments-net#comment-10819</link>
		<dc:creator>Rajkumar</dc:creator>
		<pubDate>Thu, 03 May 2012 09:25:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.limilabs.com/blog/?p=258#comment-10819</guid>
		<description>Error	1	The type or namespace name &#039;Imap&#039; could not be found (are you missing a using directive or an assembly reference?)</description>
		<content:encoded><![CDATA[<p>Error	1	The type or namespace name &#8216;Imap&#8217; could not be found (are you missing a using directive or an assembly reference?)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Limilabs support</title>
		<link>http://www.limilabs.com/blog/download-email-attachments-net#comment-1406</link>
		<dc:creator>Limilabs support</dc:creator>
		<pubDate>Wed, 19 Oct 2011 20:11:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.limilabs.com/blog/?p=258#comment-1406</guid>
		<description>@Lax,

1. When using IMAP protocol use IMAP server: imap.gmail.com
2. Use SSL

[csharp]
using (Imap client = new Imap())
{
    client.ConnectSSL(&quot;imap.gmail.com&quot;);
    client.Login(&quot;user@gmail.com&quot;, &quot;password&quot;);
    client.SelectInbox();

    // ...

    client.Close();
}


[/csharp] </description>
		<content:encoded><![CDATA[<p>@Lax,</p>
<p>1. When using IMAP protocol use IMAP server: imap.gmail.com<br />
2. Use SSL</p>
<pre class="brush: csharp;">
using (Imap client = new Imap())
{
    client.ConnectSSL(&quot;imap.gmail.com&quot;);
    client.Login(&quot;user@gmail.com&quot;, &quot;password&quot;);
    client.SelectInbox();

    // ...

    client.Close();
}
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lax</title>
		<link>http://www.limilabs.com/blog/download-email-attachments-net#comment-1405</link>
		<dc:creator>Lax</dc:creator>
		<pubDate>Wed, 19 Oct 2011 12:41:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.limilabs.com/blog/?p=258#comment-1405</guid>
		<description>I have set up a IMAP gmail account
I am trying to connect with the code :

 using (Imap imap = new Imap())
            {
                imap.Connect(&quot;smtp.gmail.com&quot;);
                imap.UseBestLogin(&quot;imap.dmtrigger@gmail.com&quot;, &quot;password&quot;);
                imap.SelectInbox();
....
....

But I get this error :
&quot;A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond .... &quot;

Would this be the problem with the account ? But I can send and recieve mails from the account I have set up in my Outlook.
Can anyone help?

Thanks,
Lax.</description>
		<content:encoded><![CDATA[<p>I have set up a IMAP gmail account<br />
I am trying to connect with the code :</p>
<p> using (Imap imap = new Imap())<br />
            {<br />
                imap.Connect(&#8220;smtp.gmail.com&#8221;);<br />
                imap.UseBestLogin(&#8220;imap.dmtrigger@gmail.com&#8221;, &#8220;password&#8221;);<br />
                imap.SelectInbox();<br />
&#8230;.<br />
&#8230;.</p>
<p>But I get this error :<br />
&#8220;A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond &#8230;. &#8221;</p>
<p>Would this be the problem with the account ? But I can send and recieve mails from the account I have set up in my Outlook.<br />
Can anyone help?</p>
<p>Thanks,<br />
Lax.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Limilabs support</title>
		<link>http://www.limilabs.com/blog/download-email-attachments-net#comment-1404</link>
		<dc:creator>Limilabs support</dc:creator>
		<pubDate>Sun, 16 Oct 2011 10:41:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.limilabs.com/blog/?p=258#comment-1404</guid>
		<description>@Veincorp

Most likely the sender of the message have not specified the filename at all.
In such case SafeFileName property (which you probably use with Save method) generates unique filename.

You can of course check FileName property for null and act according to your needs.</description>
		<content:encoded><![CDATA[<p>@Veincorp</p>
<p>Most likely the sender of the message have not specified the filename at all.<br />
In such case SafeFileName property (which you probably use with Save method) generates unique filename.</p>
<p>You can of course check FileName property for null and act according to your needs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Veincorp</title>
		<link>http://www.limilabs.com/blog/download-email-attachments-net#comment-1403</link>
		<dc:creator>Veincorp</dc:creator>
		<pubDate>Sat, 15 Oct 2011 18:06:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.limilabs.com/blog/?p=258#comment-1403</guid>
		<description>I purchased your mail.dll, it&#039;s awsome, But Why downloaded visual image saved in .DAT extension, is there any way to save it in proper extension</description>
		<content:encoded><![CDATA[<p>I purchased your mail.dll, it&#8217;s awsome, But Why downloaded visual image saved in .DAT extension, is there any way to save it in proper extension</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Limilabs support</title>
		<link>http://www.limilabs.com/blog/download-email-attachments-net#comment-1402</link>
		<dc:creator>Limilabs support</dc:creator>
		<pubDate>Tue, 04 Oct 2011 15:25:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.limilabs.com/blog/?p=258#comment-1402</guid>
		<description>@mojtaba

Please be more specific. If you have problems parsing the message please follow the steps here: http://www.limilabs.com/blog//i-have-problems-parsing-the-message and contact us directly.</description>
		<content:encoded><![CDATA[<p>@mojtaba</p>
<p>Please be more specific. If you have problems parsing the message please follow the steps here: <a href="http://www.limilabs.com/blog//i-have-problems-parsing-the-message" rel="nofollow">http://www.limilabs.com/blog//i-have-problems-parsing-the-message</a> and contact us directly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mojtaba</title>
		<link>http://www.limilabs.com/blog/download-email-attachments-net#comment-1401</link>
		<dc:creator>mojtaba</dc:creator>
		<pubDate>Mon, 03 Oct 2011 10:30:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.limilabs.com/blog/?p=258#comment-1401</guid>
		<description>files don&#039;t save completely, size of downloaded files is zero.</description>
		<content:encoded><![CDATA[<p>files don&#8217;t save completely, size of downloaded files is zero.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

