2. Организовал наличие 2-х писем- авторепоров (одно "о неполучении", другое - "об успешной доставке") вот лог попытки получить их:
Код:
20.01.2006, 08:49:14: FETCH - Получение новой почты
20.01.2006, 08:49:14: FETCH - подключено к серверу Exchange "tkzmain" как пользователь "71006"
>20.01.2006, 08:49:14: FETCH - Found mail folder "Входящие" (Class: "", Items: 2, SubFolders: no)
>20.01.2006, 08:49:14: FETCH - Folder "Дневник" is not an e-mail folder because it is journal folder (Class: "IPF.Journal", Items: 0, SubFolders: no)
>20.01.2006, 08:49:14: FETCH - Folder "Задачи" is not an e-mail folder because it is tasks folder (Class: "IPF.Task", Items: 0, SubFolders: no)
>20.01.2006, 08:49:14: FETCH - Folder "Заметки" is not an e-mail folder because it is notes folder (Class: "IPF.StickyNote", Items: 0, SubFolders: no)
>20.01.2006, 08:49:14: FETCH - Found mail folder "Исходящие" (Class: "", Items: 0, SubFolders: no)
>20.01.2006, 08:49:14: FETCH - Folder "Календарь" is not an e-mail folder because it is appointments folder (Class: "IPF.Appointment", Items: 0, SubFolders: no)
>20.01.2006, 08:49:14: FETCH - Folder "Контакты" is not an e-mail folder because it is conctacts folder (Class: "IPF.Contact", Items: 0, SubFolders: no)
>20.01.2006, 08:49:14: FETCH - Found mail folder "Нежелательная почта" (Class: "IPF.Note", Items: 0, SubFolders: no)
>20.01.2006, 08:49:14: FETCH - Found mail folder "Отправленные" (Class: "", Items: 1, SubFolders: no)
>20.01.2006, 08:49:14: FETCH - Found mail folder "Ошибки синхронизации" (Class: "IPF.Note", Items: 0, SubFolders: yes)
>20.01.2006, 08:49:14: FETCH - Found mail folder "Ошибки синхронизации\Конфликты" (Class: "IPF.Note", Items: 0, SubFolders: no)
>20.01.2006, 08:49:14: FETCH - Found mail folder "Ошибки синхронизации\Локальные ошибки" (Class: "IPF.Note", Items: 0, SubFolders: no)
>20.01.2006, 08:49:14: FETCH - Found mail folder "Ошибки синхронизации\Ошибки сервера" (Class: "IPF.Note", Items: 0, SubFolders: no)
>20.01.2006, 08:49:14: FETCH - Found mail folder "Удаленные" (Class: "", Items: 0, SubFolders: no)
>20.01.2006, 08:49:14: FETCH - Found mail folder "Черновики" (Class: "IPF.Note", Items: 0, SubFolders: no)
20.01.2006, 08:49:14: FETCH - обрабатывается 2 папки(-ок)
>20.01.2006, 08:49:14: FETCH - Checking folder "Входящие", 2 total message(s)
!20.01.2006, 08:49:14: FETCH - GetContentsTable has returned only 1 messages while there are 2 messages in the folder "Входящие"
!20.01.2006, 08:49:14: FETCH - Still incomplete data: GetContentsTable has returned only 1 messages while there are 2 messages in the folder "Входящие"
>20.01.2006, 08:49:14: FETCH - Skipped 2 messages in the folder "Входящие" because we have retrieved them in previous sessions
>20.01.2006, 08:49:14: FETCH - Checking folder "Отправленные", 1 total message(s)
>20.01.2006, 08:49:14: FETCH - Skipped 1 messages in the folder "Отправленные" because we have retrieved them in previous sessions
20.01.2006, 08:49:14: FETCH - Соединение завершено - получено писем: 0
Перезагружаем Бат пробуем тоже самое и… получаем вот такой лог сесии:
Код:
20.01.2006, 08:53:22: FETCH - Получение новой почты
20.01.2006, 08:53:22: FETCH - подключено к серверу Exchange "tkzmain" как пользователь "71006"
>20.01.2006, 08:53:22: FETCH - Found mail folder "Входящие" (Class: "", Items: 2, SubFolders: no)
>20.01.2006, 08:53:22: FETCH - Folder "Дневник" is not an e-mail folder because it is journal folder (Class: "IPF.Journal", Items: 0, SubFolders: no)
>20.01.2006, 08:53:22: FETCH - Folder "Задачи" is not an e-mail folder because it is tasks folder (Class: "IPF.Task", Items: 0, SubFolders: no)
>20.01.2006, 08:53:22: FETCH - Folder "Заметки" is not an e-mail folder because it is notes folder (Class: "IPF.StickyNote", Items: 0, SubFolders: no)
>20.01.2006, 08:53:22: FETCH - Found mail folder "Исходящие" (Class: "", Items: 0, SubFolders: no)
>20.01.2006, 08:53:22: FETCH - Folder "Календарь" is not an e-mail folder because it is appointments folder (Class: "IPF.Appointment", Items: 0, SubFolders: no)
>20.01.2006, 08:53:22: FETCH - Folder "Контакты" is not an e-mail folder because it is conctacts folder (Class: "IPF.Contact", Items: 0, SubFolders: no)
>20.01.2006, 08:53:22: FETCH - Found mail folder "Нежелательная почта" (Class: "IPF.Note", Items: 0, SubFolders: no)
>20.01.2006, 08:53:22: FETCH - Found mail folder "Отправленные" (Class: "", Items: 1, SubFolders: no)
>20.01.2006, 08:53:22: FETCH - Found mail folder "Ошибки синхронизации" (Class: "IPF.Note", Items: 0, SubFolders: yes)
>20.01.2006, 08:53:22: FETCH - Found mail folder "Ошибки синхронизации\Конфликты" (Class: "IPF.Note", Items: 0, SubFolders: no)
>20.01.2006, 08:53:22: FETCH - Found mail folder "Ошибки синхронизации\Локальные ошибки" (Class: "IPF.Note", Items: 0, SubFolders: no)
>20.01.2006, 08:53:22: FETCH - Found mail folder "Ошибки синхронизации\Ошибки сервера" (Class: "IPF.Note", Items: 0, SubFolders: no)
>20.01.2006, 08:53:22: FETCH - Found mail folder "Удаленные" (Class: "", Items: 0, SubFolders: no)
>20.01.2006, 08:53:22: FETCH - Found mail folder "Черновики" (Class: "IPF.Note", Items: 0, SubFolders: no)
20.01.2006, 08:53:22: FETCH - обрабатывается 2 папки(-ок)
>20.01.2006, 08:53:22: FETCH - Checking folder "Входящие", 2 total message(s)
!20.01.2006, 08:53:23: FETCH - Skipped a message in "Входящие" which has an empty body and no attachments (Class: "REPORT.IPM.Note.IPNNRN", Subject: "Не прочтено: sdsdsds")
!20.01.2006, 08:53:23: FETCH - GetContentsTable has returned only 1 messages while there are 2 messages in the folder "Входящие"
!20.01.2006, 08:53:23: FETCH - Still incomplete data: GetContentsTable has returned only 1 messages while there are 2 messages in the folder "Входящие"
>20.01.2006, 08:53:23: FETCH - Skipped 1 messages in the folder "Входящие" because we have retrieved them in previous sessions
>20.01.2006, 08:53:23: FETCH - Checking folder "Отправленные", 1 total message(s)
>20.01.2006, 08:53:23: FETCH - Skipped 1 messages in the folder "Отправленные" because we have retrieved them in previous sessions
20.01.2006, 08:53:23: FETCH - Соединение завершено - получено писем: 0
Т.е. отчет после перезапуска на 1 строку больше… Интересно почему?
3. "Дохлый на прием" аккаунт так и не ожил.
Он по прежнему не получает почту (и даже сообщений об ошибках при этом нет). Считает, видимо, что так и надо…
Код:
20.01.2006, 09:04:15: FETCH - Получение новой почты
20.01.2006, 09:04:15: FETCH - подключено к серверу Exchange "tkzmain" как пользователь "71006"
>20.01.2006, 09:04:15: FETCH - Found mail folder "Входящие" (Class: "", Items: 1, SubFolders: no)
>20.01.2006, 09:04:15: FETCH - Folder "Дневник" is not an e-mail folder because it is journal folder (Class: "IPF.Journal", Items: 0, SubFolders: no)
>20.01.2006, 09:04:15: FETCH - Folder "Задачи" is not an e-mail folder because it is tasks folder (Class: "IPF.Task", Items: 0, SubFolders: no)
>20.01.2006, 09:04:15: FETCH - Folder "Заметки" is not an e-mail folder because it is notes folder (Class: "IPF.StickyNote", Items: 0, SubFolders: no)
>20.01.2006, 09:04:15: FETCH - Found mail folder "Исходящие" (Class: "", Items: 0, SubFolders: no)
>20.01.2006, 09:04:15: FETCH - Folder "Календарь" is not an e-mail folder because it is appointments folder (Class: "IPF.Appointment", Items: 0, SubFolders: no)
>20.01.2006, 09:04:15: FETCH - Folder "Контакты" is not an e-mail folder because it is conctacts folder (Class: "IPF.Contact", Items: 0, SubFolders: no)
>20.01.2006, 09:04:15: FETCH - Found mail folder "Нежелательная почта" (Class: "IPF.Note", Items: 0, SubFolders: no)
>20.01.2006, 09:04:15: FETCH - Found mail folder "Отправленные" (Class: "", Items: 1, SubFolders: no)
>20.01.2006, 09:04:15: FETCH - Found mail folder "Ошибки синхронизации" (Class: "IPF.Note", Items: 0, SubFolders: yes)
>20.01.2006, 09:04:15: FETCH - Found mail folder "Ошибки синхронизации\Конфликты" (Class: "IPF.Note", Items: 0, SubFolders: no)
>20.01.2006, 09:04:15: FETCH - Found mail folder "Ошибки синхронизации\Локальные ошибки" (Class: "IPF.Note", Items: 0, SubFolders: no)
>20.01.2006, 09:04:15: FETCH - Found mail folder "Ошибки синхронизации\Ошибки сервера" (Class: "IPF.Note", Items: 0, SubFolders: no)
>20.01.2006, 09:04:15: FETCH - Found mail folder "Удаленные" (Class: "", Items: 0, SubFolders: no)
>20.01.2006, 09:04:15: FETCH - Found mail folder "Черновики" (Class: "IPF.Note", Items: 0, SubFolders: no)
20.01.2006, 09:04:15: FETCH - обрабатывается 2 папки(-ок)
>20.01.2006, 09:04:15: FETCH - Checking folder "Входящие", 1 total message(s)
>20.01.2006, 09:04:15: FETCH - Skipped 1 messages in the folder "Входящие" because we have retrieved them in previous sessions
>20.01.2006, 09:04:15: FETCH - Checking folder "Отправленные", 1 total message(s)
>20.01.2006, 09:04:15: FETCH - Skipped 1 messages in the folder "Отправленные" because we have retrieved them in previous sessions
20.01.2006, 09:04:15: FETCH - Соединение завершено - получено писем: 0
Вывод:
На моем примере прменение в Бате функций HrQueryAllRows и GetContentsTable+SetColumns+QueryRows не имеет никаких отличий…
Ну чтож отрицательный результат - тоже результат…
З.Ы.: Интересно, что должно произойти, чтобы, наконец, создался лог сессии?