JohnRD
Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору день добрый кто имел дело с утилитой getmail если использовать так getmail -s mail.test.domain.ru -u info@test.domain.ru -pw 212121 -xtract -delete то она не может вытащить вложения txt xml зато zip doc вытаскивает с ключем -plain зависает в этом состоянии, висит минут 5-10 распаковывает, но коверкает русский текст. как правильно вытащить русский текст и ускорить. для чего этот ключ -forceextract fn: Attempt to extract any encoded messages in 'fn' Код: E:\install\GetMail>getmail -s mail.test.domain.ru -u info@test.domain.ru -pw 212121 -xtract -plain -delete Failed to open registry key for GetMail profile , using default. Failed to open registry key for GetMail Getting info@test.domain.ru's mailbox contents from server mail.test.domain.ru:110 There are 1 messages on the server. Retrieving Message #1 (419753 bytes) into 'MSG4.TXT'...ok Extracting non-encoded message to 80020_616402001N_080401_6024.xml... | какие ключи использовать для этого или с чем это связано? Код: GetMail v1.33: WinNT console utility to download a mailbox's mail. syntax: Getmail -u <user> -pw <password> -s <server> [optional switches (see below)] Getmail -install [ see install details below ] Getmail -profile [-delete | "<default>"] [profile1] [profileN] [-q] Getmail -h [-q] Getmail -forceextract filename -install <server> <userid> <password> [<delete> [<xtract> [<try> [<port> [<profile>]]]]] : set's POP3 server, login, password, whether to delete or not (Yes/No), whether to automatically extract base64/7bit/UU encoded files or not (Yes/No), number of tries and port for profile (<delete> <xtract> <try> and <port> may be replaced by '-'). -u <userid> : Specify userid on remote pop3 host -pw <password>: Specify password for userid on remote mail host -s <server> : Specify mail server (pop3) to contact -nodelete : Do not delete messages after downloading (default) -delete : Delete messages after downloading -noxtract : Do not extract base64/7bit/UU files after downloading (default) -xtract [defname]: Extract base64/7bit/UU encoded files after downloading messages defname is an optional default filename for the extracted file -domainstamp : Prepend sender's domain name to extracted attachments -headersonly : Download only the headers of the message -port <port> : port to be used on the server, defaults to POP3 (110) -p <profile> : send with SMTP server, user and port defined in <profile>. -q : supresses *all* output. -n <n> : Only get 'n' messages -m <n> : Only get message # n -b <n> : Retrieve messages beginning from # n -plain : Extract text/plain segments too (usually ignored) -h : displays this help. -try <n times>: how many attempts to access mail. from '1' to 'INFINITE' -ti <n> : Set timeout to 'n' seconds. -forceextract fn: Attempt to extract any encoded messages in 'fn' | спасибо | Всего записей: 205 | Зарегистр. 29-08-2004 | Отправлено: 15:24 29-05-2008 | Исправлено: JohnRD, 15:59 29-05-2008 |
|