Вниз
Скачать: CL | DM;

IMAP: удаление писем с сервера   Найти похожие ветки 

 
Vladimir Bolotin   (2003-11-05 22:10) [0]

Для работы с почтой по протоколу IMAP использую набор библиотек от Synapse ( http://www.ararat.cz/synapse/). Все устраивает, но есть один недочет.

Метод IMAPsend.DeleteMess(ID) физически не удаляет сообщение с сервера а устанавливает флаг /DELETED. Подскажите, что можно предпринять для того, чтобы сообщения удалялись на физическом уровне? А может быть есть какой-нибудь PURGE, удаляющий все "помеченные на удаление" сообщения7


 
Е-Моё имя ©   (2003-11-06 15:46) [1]

RFC 2060

6.4.3. EXPUNGE Command

Arguments: none

Responses: untagged responses: EXPUNGE

Result: OK - expunge completed
NO - expunge failure: can"t expunge (e.g. permission
denied)
BAD - command unknown or arguments invalid

The EXPUNGE command permanently removes from the currently
selected mailbox all messages that have the \Deleted flag set.
Before returning an OK to the client, an untagged EXPUNGE response
is sent for each message that is removed.

Example: C: A202 EXPUNGE
S: * 3 EXPUNGE
S: * 3 EXPUNGE
S: * 5 EXPUNGE
S: * 8 EXPUNGE
S: A202 OK EXPUNGE completed

Note: in this example, messages 3, 4, 7, and 11 had the
\Deleted flag set. See the description of the EXPUNGE
response for further explanation.

---
nil



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.04 c
4-25665
Скал
2003-11-05 18:30
2004.01.09
регионы RGN


1-25323
Андрю-ХА
2003-12-22 13:37
2004.01.09
OwnerDraw StatusBar


9-25169
At
2003-06-16 13:35
2004.01.09
Стрельба


6-25491
how
2003-10-12 14:51
2004.01.09
IMAP component


14-25611
Ske4er
2003-12-17 07:56
2004.01.09
Куваев Олежка




   Наверх