login about faq

Do I still need to call mailman.DeleteEmail(email) if ImmediateDelete is set to 1 already?

asked Aug 10 '16 at 04:43

Delphinoy's gravatar image


The ImmediateDelete property affects the behavior of the DeleteEmail method. (It does not imply that DeleteEmail does not need to be called.) The description for ImmediateDelete is as follows:

If true (the default) then any method that deletes an email from the POP3 server will also issue a QUIT command to close the session to ensure the message is deleted immediately.

The POP3 protocol is such that the DELE command marks a message for deletion. It is not actually deleted until the QUIT command is sent and the session is closed. If ImmediateDelete is true, then any Chilkat MailMan method that marks a message (or messages) for deletion will also followup with a QUIT command and close the session. If your program sets ImmediateDelete to false, it must make sure to call Pop3EndSession to ensure that messages marked for deletion are actually deleted.


answered Aug 10 '16 at 09:24

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

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



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



Asked: Aug 10 '16 at 04:43

Seen: 1,218 times

Last updated: Aug 10 '16 at 09:24

powered by OSQA