PortNumber Property


POP3 port number. Default value is 110.

Note: Usually you do not need to change POP3 port number. However, if you do, set this value BEFORE calling Connect method.


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.PortNumber = 1234 ' If  mailserver.com operates on non-standard port
Mailer.UserName = "MyName"
Mailer.Password = "MyPassword"
Mailer.Connect
If Mailer.Connected Then
  MsgBox "Connected successfully"
  Mailer.Disconnect
End If

See Also:

UserName Property
Password Property
AuthMethod Property
ServerName Property
Connect Method


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