Noted the IMAP url syntax.
Showing
1 changed file
with
19 additions
and
5 deletions
... | @@ -5,12 +5,11 @@ necessary information to initialize @code{mailbox_t}, or @code{mailer_t} | ... | @@ -5,12 +5,11 @@ necessary information to initialize @code{mailbox_t}, or @code{mailer_t} |
5 | properly. | 5 | properly. |
6 | 6 | ||
7 | @subsection POP3 | 7 | @subsection POP3 |
8 | The POP URL scheme contains a pop server, optional port number | 8 | The POP URL scheme contains a POP server, optional port number |
9 | and the authentication mechanism. The general form is | 9 | and the authentication mechanism. The general form is |
10 | 10 | ||
11 | @example | 11 | @example |
12 | @url{pop://user;AUTH=type@@hostname:port} | 12 | @url{pop://[<user>[;AUTH=<auth>]@@]<host>[:<port>]} |
13 | @url{pop://obelix;AUTH=+APOP@@village.gaulois.org:2000} | ||
14 | @end example | 13 | @end example |
15 | 14 | ||
16 | If @emph{:port} is omitted the default value is 110. Different forms of | 15 | If @emph{:port} is omitted the default value is 110. Different forms of |
... | @@ -21,14 +20,29 @@ a default scheme base on the capability of the server. | ... | @@ -21,14 +20,29 @@ a default scheme base on the capability of the server. |
21 | @url{pop://obelix@@gaulois.org} | 20 | @url{pop://obelix@@gaulois.org} |
22 | @url{pop://asterix;AUTH=*@@france.com} | 21 | @url{pop://asterix;AUTH=*@@france.com} |
23 | @url{pop://falbala;AUTH=+APOP@@france.com} | 22 | @url{pop://falbala;AUTH=+APOP@@france.com} |
23 | @url{pop://obelix;AUTH=+APOP@@village.gaulois.org:2000} | ||
24 | @end example | 24 | @end example |
25 | 25 | ||
26 | For more complete information see @cite{rfc2368}. | 26 | For more complete information see @cite{rfc2368}. |
27 | 27 | ||
28 | @subsection IMAP | 28 | @subsection IMAP |
29 | imap://..... | 29 | The IMAP URL scheme contains an IMAP server, optional port number |
30 | and the authentication mechanism. The general form is | ||
31 | |||
32 | @example | ||
33 | @url{imap://[user[;AUTH=type]]@@hostname[:port][/mailbox]} | ||
34 | @end example | ||
35 | |||
36 | If @emph{:port} is omitted the default value is 220. Different forms of | ||
37 | authentication can be specified with @emph{;AUTH=type}. | ||
38 | The special string @emph{;AUTH=*} indicates that the client will use | ||
39 | a default scheme base on the capability of the server. | ||
40 | @example | ||
41 | @url{pop://obelix@@imap.gaulois.org} | ||
42 | @url{pop://asterix;AUTH=*@@france.com} | ||
43 | @end example | ||
30 | 44 | ||
31 | Description of the fields and examples are needed. | 45 | For more complete information see @cite{rfc2192}. |
32 | 46 | ||
33 | @subsection File | 47 | @subsection File |
34 | 48 | ... | ... |
-
Please register or sign in to post a comment