Вниз
Скачать: 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.018 c
3-25227
Апач
2003-12-08 12:57
2004.01.09
IB тригер работа с датой


14-25513
Stilgar
2003-12-15 20:17
2004.01.09
Чем Windows 2000 лучше XP?


4-25643
rel_
2003-11-06 16:37
2004.01.09
работа Timer ом


1-25325
Samael6
2003-12-17 17:01
2004.01.09
Outlook Express COM Add-ins


3-25213
alexeyII
2003-12-11 16:17
2004.01.09
Как выделить все строки DBGrid a?




   Наверх