Password Property


The password of the user account on the mail server.

To avoid sending password as clear text, set AuthMethod=1. This will enable secure APOP authentication. However, some POP3 servers might not support it. See AuthMethod property reference for details.

Note: This value (if not specified in Connect method parameters) must be set BEFORE calling Connect method.


Value Type: String
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:

UserName Property
AuthMethod Property
ServerName Property
Connect Method


Copyright © 2002-2022, AfterLogic Corporation. All rights reserved.