<?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: Uploading emails using IMAP</title>
	<atom:link href="http://www.lesnikowski.com/blog/uploading-emails-using-imap/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lesnikowski.com/blog/uploading-emails-using-imap/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=uploading-emails-using-imap</link>
	<description>EMAIL IMAP POP3 SMTP FTP FTPS barcode components blog</description>
	<lastBuildDate>Mon, 23 Jan 2012 18:49: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: Pawel Lesnikowski</title>
		<link>http://www.lesnikowski.com/blog/uploading-emails-using-imap/#comment-95</link>
		<dc:creator>Pawel Lesnikowski</dc:creator>
		<pubDate>Mon, 12 Dec 2011 13:12:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.lesnikowski.com/blog/?p=379#comment-95</guid>
		<description>@Daryl

Most likely Unseen flag can not by used in this way by your IMAP server.

Some server accepts negative flags in this context (hMailServer) others don&#039;t (Gmail).

Please simply remove messageinfo.Flags.Add(Lesnikowski.Client.IMAP.Flag.Unseen) line:

[vb]
Dim messageinfo As New Lesnikowski.Client.IMAP.UploadMessageInfo
imap.UploadMessage(“Inbox”, builder2.Create(),messageinfo)
[/vb]

It should work as expected.</description>
		<content:encoded><![CDATA[<p>@Daryl</p>
<p>Most likely Unseen flag can not by used in this way by your IMAP server.</p>
<p>Some server accepts negative flags in this context (hMailServer) others don&#8217;t (Gmail).</p>
<p>Please simply remove messageinfo.Flags.Add(Lesnikowski.Client.IMAP.Flag.Unseen) line:</p>
<pre class="brush: vb;">
Dim messageinfo As New Lesnikowski.Client.IMAP.UploadMessageInfo
imap.UploadMessage(“Inbox”, builder2.Create(),messageinfo)
</pre>
<p>It should work as expected.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daryl</title>
		<link>http://www.lesnikowski.com/blog/uploading-emails-using-imap/#comment-94</link>
		<dc:creator>Daryl</dc:creator>
		<pubDate>Mon, 12 Dec 2011 08:32:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.lesnikowski.com/blog/?p=379#comment-94</guid>
		<description>Hello,
vb.net 2010

I want to upload an email using imap but mark it as unread
[vb]
imap.UploadMessage(&quot;Inbox&quot;, builder2.Create())    
[/vb]
works as described 

BUT
[vb]
Dim messageinfo As New Lesnikowski.Client.IMAP.UploadMessageInfo
messageinfo.Flags.Add(Lesnikowski.Client.IMAP.Flag.Unseen)
imap.UploadMessage(&quot;Inbox&quot;, builder2.Create(),messageinfo)
[/vb]

gives the error:

&lt;code&gt;
Expected more data request, but received: e9f70402ea13473e BAD APPEND
&lt;/code&gt;

Any help would be appreciated - thanks</description>
		<content:encoded><![CDATA[<p>Hello,<br />
vb.net 2010</p>
<p>I want to upload an email using imap but mark it as unread</p>
<pre class="brush: vb;">
imap.UploadMessage(&quot;Inbox&quot;, builder2.Create())
</pre>
<p>works as described </p>
<p>BUT</p>
<pre class="brush: vb;">
Dim messageinfo As New Lesnikowski.Client.IMAP.UploadMessageInfo
messageinfo.Flags.Add(Lesnikowski.Client.IMAP.Flag.Unseen)
imap.UploadMessage(&quot;Inbox&quot;, builder2.Create(),messageinfo)
</pre>
<p>gives the error:</p>
<p><code><br />
Expected more data request, but received: e9f70402ea13473e BAD APPEND<br />
</code></p>
<p>Any help would be appreciated &#8211; thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pawel Lesnikowski</title>
		<link>http://www.lesnikowski.com/blog/uploading-emails-using-imap/#comment-93</link>
		<dc:creator>Pawel Lesnikowski</dc:creator>
		<pubDate>Tue, 10 May 2011 13:07:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.lesnikowski.com/blog/?p=379#comment-93</guid>
		<description>@Roberto,
1. 
Uploading message to IMAP server is a different thing than sending email. 
You should use SMTP server if you want to send an email.

2.
I don&#039;t know how your code looks like, you might have simply reached Gmail&#039;s 25MB message limit.
(Typically, encoding makes the size of the files grow slightly 19 * 1,33 = 25,27)

3.
Could you please contact us directly, and provide a bit more info (code, stack trace, log)

[Edit]
In fact I was able to upload 10MB, 15MB, 18 MB and 19MB messages.
With 19MB Gmail randomly disconnected without any error message.
Seems it&#039;s their bug.
</description>
		<content:encoded><![CDATA[<p>@Roberto,<br />
1.<br />
Uploading message to IMAP server is a different thing than sending email.<br />
You should use SMTP server if you want to send an email.</p>
<p>2.<br />
I don&#8217;t know how your code looks like, you might have simply reached Gmail&#8217;s 25MB message limit.<br />
(Typically, encoding makes the size of the files grow slightly 19 * 1,33 = 25,27)</p>
<p>3.<br />
Could you please contact us directly, and provide a bit more info (code, stack trace, log)</p>
<p>[Edit]<br />
In fact I was able to upload 10MB, 15MB, 18 MB and 19MB messages.<br />
With 19MB Gmail randomly disconnected without any error message.<br />
Seems it&#8217;s their bug.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roberto</title>
		<link>http://www.lesnikowski.com/blog/uploading-emails-using-imap/#comment-92</link>
		<dc:creator>Roberto</dc:creator>
		<pubDate>Tue, 10 May 2011 11:02:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.lesnikowski.com/blog/?p=379#comment-92</guid>
		<description>Hello,
I try to submit an email, through this method, with many attachments (total size approx. 19MB) and I jump an error: &quot;Unable to write data to the transport connection: An error occurred during connection attempt because the connected party did not properly respond after a period of time, or failed to established connection and connected host has failed to respond. &quot;
You know that it can be? The mail then you are on gmail.
Thanks</description>
		<content:encoded><![CDATA[<p>Hello,<br />
I try to submit an email, through this method, with many attachments (total size approx. 19MB) and I jump an error: &#8220;Unable to write data to the transport connection: An error occurred during connection attempt because the connected party did not properly respond after a period of time, or failed to established connection and connected host has failed to respond. &#8221;<br />
You know that it can be? The mail then you are on gmail.<br />
Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

