Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2004.01.09;
Скачать: 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 вся ветка

Текущий архив: 2004.01.09;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.023 c
3-25211
big_bugzy
2003-12-11 15:32
2004.01.09
Ошибка про множество таблиц в запросе


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


1-25430
NneRreaLl
2003-12-23 19:50
2004.01.09
Насчёт Memo -- можно ли ?


7-25627
MakNik
2003-10-29 14:59
2004.01.09
Как програмно создать новую папку?


14-25604
Nick-From
2003-12-19 13:29
2004.01.09
sophisticated DBcombobox