<?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: Delete email permanently in Gmail</title>
	<atom:link href="http://www.lesnikowski.com/blog/delete-email-permanently-in-gmail/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lesnikowski.com/blog/delete-email-permanently-in-gmail/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=delete-email-permanently-in-gmail</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/delete-email-permanently-in-gmail/#comment-125</link>
		<dc:creator>Pawel Lesnikowski</dc:creator>
		<pubDate>Tue, 12 Jul 2011 11:50:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.lesnikowski.com/blog/?p=575#comment-125</guid>
		<description>@fireandhemlock

You just need to change the search code.

The following code searches for all email sent from alice:
[csharp]
List&lt;long&gt; uids = imap.Search(Expression.From(&quot;alice@company.org&quot;));
[/csharp]

[vb]
Dim uids As List(Of Long) = imap.Search(Expression.From(&quot;alice@company.org&quot;))
[/vb]

Read more about &lt;a href=&quot;http://www.lesnikowski.com/blog/how-to-search-imap-in-net/&quot; rel=&quot;nofollow&quot;&gt;searching emails on IMAP server&lt;/a&gt;.

If you are using Gmail you also may also use &lt;a href=&quot;http://www.lesnikowski.com/blog/search-gmail-using-gmails-search-syntax/&quot; rel=&quot;nofollow&quot;&gt;Gmail&#039;s specific search syntax&lt;/a&gt; (same as on Gmail web site).
</description>
		<content:encoded><![CDATA[<p>@fireandhemlock</p>
<p>You just need to change the search code.</p>
<p>The following code searches for all email sent from alice:</p>
<pre class="brush: csharp;">
List&lt;long&gt; uids = imap.Search(Expression.From(&quot;alice@company.org&quot;));
</pre>
<pre class="brush: vb;">
Dim uids As List(Of Long) = imap.Search(Expression.From(&quot;alice@company.org&quot;))
</pre>
<p>Read more about <a href="http://www.lesnikowski.com/blog/how-to-search-imap-in-net/" rel="nofollow">searching emails on IMAP server</a>.</p>
<p>If you are using Gmail you also may also use <a href="http://www.lesnikowski.com/blog/search-gmail-using-gmails-search-syntax/" rel="nofollow">Gmail&#8217;s specific search syntax</a> (same as on Gmail web site).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fireandhemlock</title>
		<link>http://www.lesnikowski.com/blog/delete-email-permanently-in-gmail/#comment-124</link>
		<dc:creator>fireandhemlock</dc:creator>
		<pubDate>Mon, 11 Jul 2011 09:34:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.lesnikowski.com/blog/?p=575#comment-124</guid>
		<description>hey, I was wondering, whether similar code can be used to immediately delete mails from ONE particular contact?</description>
		<content:encoded><![CDATA[<p>hey, I was wondering, whether similar code can be used to immediately delete mails from ONE particular contact?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pawel Lesnikowski</title>
		<link>http://www.lesnikowski.com/blog/delete-email-permanently-in-gmail/#comment-123</link>
		<dc:creator>Pawel Lesnikowski</dc:creator>
		<pubDate>Wed, 20 Apr 2011 06:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.lesnikowski.com/blog/?p=575#comment-123</guid>
		<description>@hiremath 

With Mail.dll you can delete and manage email on any IMAP or POP3 server (including Exchange). 

Outlook is a client application. If you want to delete email from a local pst store, Mail.dll is not going to help you, but if you want to delete emails from Exchange read this post: &lt;a href =&quot;http://www.lesnikowski.com/blog/delete-email-messages-with-imap&quot; rel=&quot;nofollow&quot;&gt;Delete email messages using IMAP&lt;/a&gt;. You may need to establish SSL connection but it&#039;s quite easy just use ConnectSSL method.</description>
		<content:encoded><![CDATA[<p>@hiremath </p>
<p>With Mail.dll you can delete and manage email on any IMAP or POP3 server (including Exchange). </p>
<p>Outlook is a client application. If you want to delete email from a local pst store, Mail.dll is not going to help you, but if you want to delete emails from Exchange read this post: <a href ="http://www.lesnikowski.com/blog/delete-email-messages-with-imap" rel="nofollow">Delete email messages using IMAP</a>. You may need to establish SSL connection but it&#8217;s quite easy just use ConnectSSL method.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hiremath V K</title>
		<link>http://www.lesnikowski.com/blog/delete-email-permanently-in-gmail/#comment-122</link>
		<dc:creator>hiremath V K</dc:creator>
		<pubDate>Tue, 19 Apr 2011 10:49:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.lesnikowski.com/blog/?p=575#comment-122</guid>
		<description>hi,
i want to delete mails from outlook.
plz Ans,.
thank you.</description>
		<content:encoded><![CDATA[<p>hi,<br />
i want to delete mails from outlook.<br />
plz Ans,.<br />
thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pawel Lesnikowski</title>
		<link>http://www.lesnikowski.com/blog/delete-email-permanently-in-gmail/#comment-121</link>
		<dc:creator>Pawel Lesnikowski</dc:creator>
		<pubDate>Sun, 09 Jan 2011 12:42:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.lesnikowski.com/blog/?p=575#comment-121</guid>
		<description>@Vinay

Most likely your server does not require SSL. Just use Imap.Connect method in that case. Please also read this post: &lt;a href=&quot;http://www.lesnikowski.com/blog/connection-attempt-failed/&quot; rel=&quot;nofollow&quot;&gt;Connection attempt failed&lt;/a&gt;. 

Please contat us directly if you have other connection problems.</description>
		<content:encoded><![CDATA[<p>@Vinay</p>
<p>Most likely your server does not require SSL. Just use Imap.Connect method in that case. Please also read this post: <a href="http://www.lesnikowski.com/blog/connection-attempt-failed/" rel="nofollow">Connection attempt failed</a>. </p>
<p>Please contat us directly if you have other connection problems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vinay Bammidi</title>
		<link>http://www.lesnikowski.com/blog/delete-email-permanently-in-gmail/#comment-120</link>
		<dc:creator>vinay Bammidi</dc:creator>
		<pubDate>Sun, 09 Jan 2011 09:08:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.lesnikowski.com/blog/?p=575#comment-120</guid>
		<description>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 74.125.155.109:143

I am getting this error.Can you please tell me how to fix this.</description>
		<content:encoded><![CDATA[<p>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 74.125.155.109:143</p>
<p>I am getting this error.Can you please tell me how to fix this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pawel Lesnikowski</title>
		<link>http://www.lesnikowski.com/blog/delete-email-permanently-in-gmail/#comment-119</link>
		<dc:creator>Pawel Lesnikowski</dc:creator>
		<pubDate>Sat, 08 Jan 2011 18:31:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.lesnikowski.com/blog/?p=575#comment-119</guid>
		<description>@Vinay 
Instead of 
&lt;code&gt;imap.SelectInbox()&lt;/code&gt;
use
&lt;code&gt;imap.Select(&quot;[Gmail]/Sent Mail&quot;)&lt;/code&gt;

If you want to delete all emails in this folder replace the search code with:
&lt;code&gt;List&lt;long&gt; uids = imap.GetAll();&lt;/code&gt;
-or-
&lt;code&gt;Dim uids As List(Of Long) = imap.GetAll()&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>@Vinay<br />
Instead of<br />
<code>imap.SelectInbox()</code><br />
use<br />
<code>imap.Select("[Gmail]/Sent Mail")</code></p>
<p>If you want to delete all emails in this folder replace the search code with:<br />
<code>List&lt;long&gt; uids = imap.GetAll();</code><br />
-or-<br />
<code>Dim uids As List(Of Long) = imap.GetAll()</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vinay Bammidi</title>
		<link>http://www.lesnikowski.com/blog/delete-email-permanently-in-gmail/#comment-118</link>
		<dc:creator>vinay Bammidi</dc:creator>
		<pubDate>Sat, 08 Jan 2011 17:57:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.lesnikowski.com/blog/?p=575#comment-118</guid>
		<description>Hi,

I like to delete my sent mails in gamil. how can i do this.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I like to delete my sent mails in gamil. how can i do this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pawel Lesnikowski</title>
		<link>http://www.lesnikowski.com/blog/delete-email-permanently-in-gmail/#comment-117</link>
		<dc:creator>Pawel Lesnikowski</dc:creator>
		<pubDate>Thu, 29 Jul 2010 11:39:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.lesnikowski.com/blog/?p=575#comment-117</guid>
		<description>@Farooq 
POP3 protocol does not have a concept of seen/unseen emails nor folders.

If you need to delete an email just use Pop3.DeleteMessage or Pop3.DeleteMessageByUID method.</description>
		<content:encoded><![CDATA[<p>@Farooq<br />
POP3 protocol does not have a concept of seen/unseen emails nor folders.</p>
<p>If you need to delete an email just use Pop3.DeleteMessage or Pop3.DeleteMessageByUID method.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Farooq</title>
		<link>http://www.lesnikowski.com/blog/delete-email-permanently-in-gmail/#comment-116</link>
		<dc:creator>Farooq</dc:creator>
		<pubDate>Thu, 29 Jul 2010 10:41:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.lesnikowski.com/blog/?p=575#comment-116</guid>
		<description>How to do the same for POP3 accounts?</description>
		<content:encoded><![CDATA[<p>How to do the same for POP3 accounts?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

