<?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.limilabs.com/blog/uploading-emails-using-imap/feed" rel="self" type="application/rss+xml" />
	<link>http://www.limilabs.com/blog/uploading-emails-using-imap?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=uploading-emails-using-imap</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/uploading-emails-using-imap#comment-3129</link>
		<dc:creator>Limilabs support</dc:creator>
		<pubDate>Mon, 27 Feb 2012 22:38:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.limilabs.com/blog/?p=379#comment-3129</guid>
		<description>@Michael,

You are right: when you send an email using Gmail’s SMTP server it automatically appears in “Sent Mail” folder.</description>
		<content:encoded><![CDATA[<p>@Michael,</p>
<p>You are right: when you send an email using Gmail’s SMTP server it automatically appears in “Sent Mail” folder.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.limilabs.com/blog/uploading-emails-using-imap#comment-3106</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Mon, 27 Feb 2012 17:22:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.limilabs.com/blog/?p=379#comment-3106</guid>
		<description>Ok, I see. Thanks. I also found that sending through Gmails SMTP server did the &quot;copying&quot; to the sent messages folder automatically, so no problem there.</description>
		<content:encoded><![CDATA[<p>Ok, I see. Thanks. I also found that sending through Gmails SMTP server did the &#8220;copying&#8221; to the sent messages folder automatically, so no problem there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Limilabs support</title>
		<link>http://www.limilabs.com/blog/uploading-emails-using-imap#comment-2351</link>
		<dc:creator>Limilabs support</dc:creator>
		<pubDate>Mon, 20 Feb 2012 17:45:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.limilabs.com/blog/?p=379#comment-2351</guid>
		<description>@Michael,

By default, uploading to &#039;sent&#039; folder should not send the message. RFC3501 is very precise about this &quot;The APPEND command is not used for message delivery, because it does not provide a mechanism to transfer [SMTP] envelope information.&quot;</description>
		<content:encoded><![CDATA[<p>@Michael,</p>
<p>By default, uploading to &#8216;sent&#8217; folder should not send the message. RFC3501 is very precise about this &#8220;The APPEND command is not used for message delivery, because it does not provide a mechanism to transfer [SMTP] envelope information.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.limilabs.com/blog/uploading-emails-using-imap#comment-2336</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Mon, 20 Feb 2012 14:57:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.limilabs.com/blog/?p=379#comment-2336</guid>
		<description>Hi,

If I use Mail.dll Smtp to send email (using fluent interface or not) and want a &quot;copy&quot; of the message placed in the online mail client (e.g. Gmail) sent mail folder, is it safe to use Imap.UploadMessage for this, or do I risk the message being sent twice? Once by using Smtp and once when uploading the message like this (where some Imap servers apparently decide to also send the message).

Thanks,
Michael</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>If I use Mail.dll Smtp to send email (using fluent interface or not) and want a &#8220;copy&#8221; of the message placed in the online mail client (e.g. Gmail) sent mail folder, is it safe to use Imap.UploadMessage for this, or do I risk the message being sent twice? Once by using Smtp and once when uploading the message like this (where some Imap servers apparently decide to also send the message).</p>
<p>Thanks,<br />
Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Limilabs support</title>
		<link>http://www.limilabs.com/blog/uploading-emails-using-imap#comment-1417</link>
		<dc:creator>Limilabs support</dc:creator>
		<pubDate>Mon, 12 Dec 2011 13:12:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.limilabs.com/blog/?p=379#comment-1417</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(Limilabs.Client.IMAP.Flag.Unseen) line:

[vb]
Dim messageinfo As New Limilabs.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(Limilabs.Client.IMAP.Flag.Unseen) line:</p>
<pre class="brush: vb;">
Dim messageinfo As New Limilabs.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.limilabs.com/blog/uploading-emails-using-imap#comment-1416</link>
		<dc:creator>Daryl</dc:creator>
		<pubDate>Mon, 12 Dec 2011 08:32:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.limilabs.com/blog/?p=379#comment-1416</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 Limilabs.Client.IMAP.UploadMessageInfo
messageinfo.Flags.Add(Limilabs.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 Limilabs.Client.IMAP.UploadMessageInfo
messageinfo.Flags.Add(Limilabs.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: Limilabs support</title>
		<link>http://www.limilabs.com/blog/uploading-emails-using-imap#comment-1415</link>
		<dc:creator>Limilabs support</dc:creator>
		<pubDate>Tue, 10 May 2011 13:07:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.limilabs.com/blog/?p=379#comment-1415</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.limilabs.com/blog/uploading-emails-using-imap#comment-1414</link>
		<dc:creator>Roberto</dc:creator>
		<pubDate>Tue, 10 May 2011 11:02:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.limilabs.com/blog/?p=379#comment-1414</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>

