vcomp71
Осваивающий
- Сообщения
- 431
- Репутация
- 25
Если кто решал такую задачу, давайте все-таки обсудим все нюансы.
Есть утилита getmail, которая скачивает почту с указанного pop3 сервера
Никто не встречал законченную udf, которая бы полностью реализовывала все нужные функции?
Скачал getmail вот тут
http://www.interlog.com/~tcharron/getmail.html
По описанию версия 1.33, неужели после этого мировой разум ничего нового не создал?
Может кто ковырял данную тему и может рассказать поподробней?
Описание довольно-таки скупое...
Скачал сообщения - где там тело сообщения так и не понял...
Есть утилита getmail, которая скачивает почту с указанного pop3 сервера
Никто не встречал законченную udf, которая бы полностью реализовывала все нужные функции?
Скачал getmail вот тут
http://www.interlog.com/~tcharron/getmail.html
По описанию версия 1.33, неужели после этого мировой разум ничего нового не создал?
Может кто ковырял данную тему и может рассказать поподробней?
Описание довольно-таки скупое...
USAGE:
syntax:
Getmail -u <user> -p <password> -s <server> [optional switches (see below)]
Getmail -install [ see install details below ]
Getmail -profile [-delete | "<default>"] [profile1] [profileN] [-q]
Getmail -h [-q]
-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//7bitUU files after downloading (default)
-xtract : Extract base64//7bitUU encoded files after downloading messages
-h : displays this help.
-q : supresses *all* output.
-p <profile> : send with SMTP server, user and port defined in <profile>.
-port <port> : port to be used on the server, defaults to POP3 (110)
-try <n times>: how many attempts to access mail. from '1' to 'INFINITE'
EXAMPLES:
Getmail -install smtphost.bar.com [email protected] password // Sets host, userid, and password
Getmail -install smtphost.bar.com [email protected] password Yes Yes 3 110
// Sets host, userid, and password. Automatic deletion after download, and extraction of files
// 3 attempts will be made before giving up, using port 110 work
Getmail -install smtphost.bar.com [email protected] password Yes Yes 3 110
// As prior, but saving profile with name "work"
Getmail -pw realpassword
// Get the mail, using configured host/userid, etc, but using the password specified.
Getmail -pw realpassword -xtract
// Get the mail, using configured host/userid, etc, but using the password specified.
// Automatically extract binary attachments
syntax:
Getmail -u <user> -p <password> -s <server> [optional switches (see below)]
Getmail -install [ see install details below ]
Getmail -profile [-delete | "<default>"] [profile1] [profileN] [-q]
Getmail -h [-q]
-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//7bitUU files after downloading (default)
-xtract : Extract base64//7bitUU encoded files after downloading messages
-h : displays this help.
-q : supresses *all* output.
-p <profile> : send with SMTP server, user and port defined in <profile>.
-port <port> : port to be used on the server, defaults to POP3 (110)
-try <n times>: how many attempts to access mail. from '1' to 'INFINITE'
EXAMPLES:
Getmail -install smtphost.bar.com [email protected] password // Sets host, userid, and password
Getmail -install smtphost.bar.com [email protected] password Yes Yes 3 110
// Sets host, userid, and password. Automatic deletion after download, and extraction of files
// 3 attempts will be made before giving up, using port 110 work
Getmail -install smtphost.bar.com [email protected] password Yes Yes 3 110
// As prior, but saving profile with name "work"
Getmail -pw realpassword
// Get the mail, using configured host/userid, etc, but using the password specified.
Getmail -pw realpassword -xtract
// Get the mail, using configured host/userid, etc, but using the password specified.
// Automatically extract binary attachments
Скачал сообщения - где там тело сообщения так и не понял...