Главная страница
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.017 c
11-25269
Дмитрий С
2003-04-18 06:56
2004.01.09
TKOLToolBar


6-25480
czuryk
2003-11-02 17:48
2004.01.09
NMPOP3 Как убрать


1-25397
Michael K
2003-12-24 14:54
2004.01.09
GraphicEx требует JPG.PAS, а его нет!


14-25603
Undert
2003-12-17 12:00
2004.01.09
Опять SQL:


1-25404
webpauk
2003-12-24 16:10
2004.01.09
Эффекты Winampa