login about faq

Hi guys,

Is there a way to remove emails from IMAP server using IMAP ActiveX control? I already look through the classes and methods, but can't find until now.

Thanks!

Best regards,

Richard Quintana

asked Feb 07 '13 at 12:19

RichardQuintana's gravatar image

RichardQuintana
1111


Question solved!

I found here that IMAP works with flags for messages. So to delete one of them, its just flag a message as "Deleted" and expunge it.

To do this, I use SetFlag method (or SetFlags for a MessageSet) from ChilkatImap class to flag the message. After that, in same class, Expunge method (or ExpungAndClose in some case)

link

answered Feb 07 '13 at 12:51

RichardQuintana's gravatar image

RichardQuintana
1111

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×184
×175
×96
×1

Asked: Feb 07 '13 at 12:19

Seen: 1,325 times

Last updated: Feb 07 '13 at 12:51

powered by OSQA