Can't delete messege with imaplib
<p>I use this code to delete a messege from my email:</p>

<pre><code>mail.store(id, '+FLAGS', '\\Deleted')
mail.expunge()
</code></pre>

<p>And this code is return 'Ok'.</p>

<blockquote>
  <p>('OK', [None])</p>
</blockquote>

<p>I also changed the Settings in my gmail acount to be:</p>

<p><img src="https://i.stack.imgur.com/T3MQq.png" alt="Settings of my imap using with gmail"></p>

<p>But i still cant delete messeges. Why is it?</p>