Главная страница
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.027 c
14-25519
kronprince
2003-12-19 16:19
2004.01.09
Поздравляю присутствующих с Днем энергетика !!!


8-25448
Addead
2003-09-06 09:21
2004.01.09
Как импортировать (работать с) flash в Delphi.


1-25396
Checist [root]
2003-12-24 18:56
2004.01.09
Тип TFramesObject


14-25560
Kein
2003-12-19 20:45
2004.01.09
Access


1-25278
Masa
2003-12-23 14:56
2004.01.09
Exception