POP authentication |
The Pop class supports digest authentication using the APOP command as described in RFC 1939. Although not generally required by most POP servers, if your server requires APOP authentication you may change the authentication method prior to establishing a connection to the Pop server by setting the AuthMode property.
Note
By default, plain text authorization is used.
Example
[C#] Pop myPop = new Pop("pop.myserver.com", "username", "password"); // set apop authorization myPop.AuthMode = Pop.AUTH_APOP; myPop.Connect();
[Visual Basic] Dim myPop As Pop = Nothing myPop = New Pop("pop.myserver.com", "username", "password") ' set apop authorization myPop.AuthMode = Pop.AUTH_APOP myPop.Connect()
|