Free Support Forum - aspose.com

Pop3Client.DeleteMessage with gmail

I am trying to delete a message from gmail using pop3. Using imap it is working fine, but with pop3 it will not delete the mail message. No errors. Using the latest Aspose.Network.


I am calling DeleteMessage, then CommitDeletes. No errors.

Hi,

If you delete the emails using POP3 protocol, these deleted emails will still appear in Gmail because of the default Gmail POP3 access settings (Keep Gmail’s copy in the Inbox).

Please set it to “Delete Gmail’s copy”. This way, when an email is deleted using POP3, it will also be deleted from Gmail.com.