AuthMethod Property
MailBee.POP3 object can establish connection
with the POP3 server using various authentication types.
Default setting is a regular authentication. All POP3 servers support it, but
it is insecure. During regular authentication user password is sent to server
in plain form, so the password can be captured by hacker.
However, MailBee also supports secure authentication methods. All you need for
using a secure connection is to set AuthMethod property value prior to
connecting.
AuthMethod property must be set BEFORE calling Connect method, otherwise
it will not take effect.
The following authentication method are allowed:
| Value Type: | Long | |
| Parameters: | None | |
Usage example:
Dim Mailer 'Using visual basic to create object Set Mailer = CreateObject("MailBee.POP3") 'Using ASP to create object 'Set Mailer = Server.CreateObject("MailBee.POP3") 'In ASP use Response.Write instead of MsgBox Mailer.LicenseKey = "put your license key here" Mailer.ServerName = "mailserver.com" Mailer.UserName = "MyName" Mailer.Password = "MyPassword" Mailer.AuthMethod = 1 ' Using APOP secure authentication Mailer.Connect If Mailer.Connected Then MsgBox "Connected using APOP command" Mailer.Disconnect End If
See Also:
Copyright 2002-2008, AfterLogic Corporation. All rights reserved.