<?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 for Lesnikowski Blog</title>
	<atom:link href="http://www.lesnikowski.com/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lesnikowski.com/blog</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>Comment on Send email with attachment by Pawel Lesnikowski</title>
		<link>http://www.lesnikowski.com/blog/send-email-with-attachment/#comment-1040</link>
		<dc:creator>Pawel Lesnikowski</dc:creator>
		<pubDate>Mon, 23 Jan 2012 18:49:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.lesnikowski.com/blog/?p=1282#comment-1040</guid>
		<description>Peter,

As you might expect there is no direct conversion method.
You need to have data as byte array, ContentType object (you can parse it from string) and file name:

[csharp]
byte[] data = ...;
string contentType = ...;
string fileName = ...;

MimeData mime = new MimeFactory().CreateMimeData();
mime.Data = data;
mime.ContentType = ContentType.Parse(contentType);
mime.FileName = fileName;
[/csharp]</description>
		<content:encoded><![CDATA[<p>Peter,</p>
<p>As you might expect there is no direct conversion method.<br />
You need to have data as byte array, ContentType object (you can parse it from string) and file name:</p>
<pre class="brush: csharp;">
byte[] data = ...;
string contentType = ...;
string fileName = ...;

MimeData mime = new MimeFactory().CreateMimeData();
mime.Data = data;
mime.ContentType = ContentType.Parse(contentType);
mime.FileName = fileName;
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Send email with attachment by Peter Steiness</title>
		<link>http://www.lesnikowski.com/blog/send-email-with-attachment/#comment-1024</link>
		<dc:creator>Peter Steiness</dc:creator>
		<pubDate>Mon, 23 Jan 2012 14:21:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.lesnikowski.com/blog/?p=1282#comment-1024</guid>
		<description>How do I convert a System.Net.Mail.Attachment object to a Lesnikowski.Mail.MimeDate object?

ContentStream = Stream object.
Filename = String object.
ContentType = String object.

-Peter Steiness
NOVAQ - Qmanager.dk licens.</description>
		<content:encoded><![CDATA[<p>How do I convert a System.Net.Mail.Attachment object to a Lesnikowski.Mail.MimeDate object?</p>
<p>ContentStream = Stream object.<br />
Filename = String object.<br />
ContentType = String object.</p>
<p>-Peter Steiness<br />
NOVAQ &#8211; Qmanager.dk licens.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reply to an email by Prosolit</title>
		<link>http://www.lesnikowski.com/blog/reply-to-email/#comment-977</link>
		<dc:creator>Prosolit</dc:creator>
		<pubDate>Sun, 22 Jan 2012 21:55:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.lesnikowski.com/blog/?p=2188#comment-977</guid>
		<description>Perfect ! It works !
Thank you very much for the quick response.</description>
		<content:encoded><![CDATA[<p>Perfect ! It works !<br />
Thank you very much for the quick response.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reply to an email by Pawel Lesnikowski</title>
		<link>http://www.lesnikowski.com/blog/reply-to-email/#comment-961</link>
		<dc:creator>Pawel Lesnikowski</dc:creator>
		<pubDate>Sun, 22 Jan 2012 17:21:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.lesnikowski.com/blog/?p=2188#comment-961</guid>
		<description>@Prosolit

Ah! It seems there is a difference in how reflection in .NET 4.0 and .NET 3.5 treats anonymous types.
I&#039;ll release corrected version today.
Thanks!

[Update]
Resolved, the version is 3.0.1222.1931.
You can download it at http://www.lesnikowski.com/mail/download.aspx</description>
		<content:encoded><![CDATA[<p>@Prosolit</p>
<p>Ah! It seems there is a difference in how reflection in .NET 4.0 and .NET 3.5 treats anonymous types.<br />
I&#8217;ll release corrected version today.<br />
Thanks!</p>
<p>[Update]<br />
Resolved, the version is 3.0.1222.1931.<br />
You can download it at <a href="http://www.lesnikowski.com/mail/download.aspx" rel="nofollow">http://www.lesnikowski.com/mail/download.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reply to an email by Prosolit</title>
		<link>http://www.lesnikowski.com/blog/reply-to-email/#comment-938</link>
		<dc:creator>Prosolit</dc:creator>
		<pubDate>Sun, 22 Jan 2012 10:51:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.lesnikowski.com/blog/?p=2188#comment-938</guid>
		<description>Thanks for your quick response !
For info, I use the 3.0.1217.1817 mail.dll. I&#039;am on Visual Studio 2008 with framework 3.5 (all in french version)

This is the code :
---------------------
     _event.MailObject.Save(Application.StartupPath + &quot;\\test.eml&quot;); //mail content --&gt; see at the end of the post
     ReplyBuilder _replyBuilder = _event.MailObject.Reply();
     _replyBuilder.Html = @&quot;Cher test,test...Signature&quot;;

    // Exception : &#039;Html&#039; was not found (TemplateException)----&gt;  
    MailBuilder builder = _replyBuilder.ReplyToAll(new MailBox(EmailFrom, &quot;Aroma-zen.com Service Client&quot;));
    //&lt;----- Exception
</description>
		<content:encoded><![CDATA[<p>Thanks for your quick response !<br />
For info, I use the 3.0.1217.1817 mail.dll. I&#8217;am on Visual Studio 2008 with framework 3.5 (all in french version)</p>
<p>This is the code :<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
     _event.MailObject.Save(Application.StartupPath + &#8220;\\test.eml&#8221;); //mail content &#8211;&gt; see at the end of the post<br />
     ReplyBuilder _replyBuilder = _event.MailObject.Reply();<br />
     _replyBuilder.Html = @&#8221;Cher test,test&#8230;Signature&#8221;;</p>
<p>    // Exception : &#8216;Html&#8217; was not found (TemplateException)&#8212;-&gt;<br />
    MailBuilder builder = _replyBuilder.ReplyToAll(new MailBox(EmailFrom, &#8220;Aroma-zen.com Service Client&#8221;));<br />
    //&lt;&#8212;&#8211; Exception</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reply to an email by Pawel Lesnikowski</title>
		<link>http://www.lesnikowski.com/blog/reply-to-email/#comment-866</link>
		<dc:creator>Pawel Lesnikowski</dc:creator>
		<pubDate>Sat, 21 Jan 2012 20:32:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.lesnikowski.com/blog/?p=2188#comment-866</guid>
		<description>@Prosolit

Could you show your code and exception stack trace?
Have you changed any of the reply templates?
Can you send us the raw version of the message you are replying to?</description>
		<content:encoded><![CDATA[<p>@Prosolit</p>
<p>Could you show your code and exception stack trace?<br />
Have you changed any of the reply templates?<br />
Can you send us the raw version of the message you are replying to?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reply to an email by Prosolit</title>
		<link>http://www.lesnikowski.com/blog/reply-to-email/#comment-860</link>
		<dc:creator>Prosolit</dc:creator>
		<pubDate>Sat, 21 Jan 2012 18:24:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.lesnikowski.com/blog/?p=2188#comment-860</guid>
		<description>Hi !
I have bought your library and when I test your example of reply builder I have an TemplateException --&gt; &#039;Html&#039; was not found 

at this line...

Dim builder As MailBuilder = replyBuilder.ReplyToAll(New MailBox(&quot;bob@example.org&quot;, &quot;Bob&quot;))

Do you have an explication for this exception ? 
Thanks in advance for your help !</description>
		<content:encoded><![CDATA[<p>Hi !<br />
I have bought your library and when I test your example of reply builder I have an TemplateException &#8211;&gt; &#8216;Html&#8217; was not found </p>
<p>at this line&#8230;</p>
<p>Dim builder As MailBuilder = replyBuilder.ReplyToAll(New MailBox(&#8220;bob@example.org&#8221;, &#8220;Bob&#8221;))</p>
<p>Do you have an explication for this exception ?<br />
Thanks in advance for your help !</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on OAuth with Gmail by Pawel Lesnikowski</title>
		<link>http://www.lesnikowski.com/blog/oauth-with-gmail/#comment-594</link>
		<dc:creator>Pawel Lesnikowski</dc:creator>
		<pubDate>Tue, 17 Jan 2012 17:04:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.lesnikowski.com/blog/?p=2030#comment-594</guid>
		<description>@Hernan

1.
Gmail uses OAuth 1.0

2.
Please update to the latest version. 
- GetAuthorizationUrl now uses not signed OAuthAuthorizeToken method.
- You&#039;ll no longer get 401 from google API


</description>
		<content:encoded><![CDATA[<p>@Hernan</p>
<p>1.<br />
Gmail uses OAuth 1.0</p>
<p>2.<br />
Please update to the latest version.<br />
- GetAuthorizationUrl now uses not signed OAuthAuthorizeToken method.<br />
- You&#8217;ll no longer get 401 from google API</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on OAuth with Gmail by Hernan</title>
		<link>http://www.lesnikowski.com/blog/oauth-with-gmail/#comment-587</link>
		<dc:creator>Hernan</dc:creator>
		<pubDate>Tue, 17 Jan 2012 14:57:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.lesnikowski.com/blog/?p=2030#comment-587</guid>
		<description>Great job! what about oauth v2?

I have a problem oauth.GetAuthorizationUrl(). When the browser is openned, i get an error from google. If I delete oauth_signature parameter and value from URL it appears to work! but then oauth.GetXOAuthKeyForImap() gives me a 401 error (not authorize)</description>
		<content:encoded><![CDATA[<p>Great job! what about oauth v2?</p>
<p>I have a problem oauth.GetAuthorizationUrl(). When the browser is openned, i get an error from google. If I delete oauth_signature parameter and value from URL it appears to work! but then oauth.GetXOAuthKeyForImap() gives me a 401 error (not authorize)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Imap IDLE by Download emails from Gmail via POP3</title>
		<link>http://www.lesnikowski.com/blog/imap-idle/#comment-416</link>
		<dc:creator>Download emails from Gmail via POP3</dc:creator>
		<pubDate>Sun, 15 Jan 2012 12:44:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.lesnikowski.com/blog/?p=831#comment-416</guid>
		<description>[...] use push email [...]</description>
		<content:encoded><![CDATA[<p>[...] use push email [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

