Overview

Packages

  • Auth
  • Config
  • Controller
  • Date
  • Db
  • Feed
    • Abstract
    • Writers
  • File
    • Decorator
  • Form
    • Element
  • Image
  • Log
    • Writer
  • Net
    • Exception
  • None
  • PHP
  • PHPMailer
  • Session
  • Util
  • Validate
    • Validator
  • Zend
    • Registry

Classes

  • Net_POP3
  • Net_SMTP
  • Overview
  • Package
  • Class
  • Tree

Class Net_POP3

POP Before SMTP Authentication Class Version 5.2.1

Author: Richard Davey (rich@corephp.co.uk) Modifications: Andy Prevost License: LGPL, see PHPMailer License

Specifically for PHPMailer to allow POP before SMTP authentication. Does not yet work with APOP - if you have an APOP account, contact Richard Davey and we can test changes to this script.

This class is based on the structure of the SMTP class originally authored by Chris Ryan

This class is rfc 1939 compliant and implements all the commands required for POP3 connection, authentication and disconnection.

Package: PHPMailer
Copyright: 2010 - 2012 Jim Jagielski
Copyright: 2004 - 2009 Andy Prevost
License: Distributed under the Lesser General Public License (LGPL)
Author: Richard Davey
Located at Net/POP3.class.php
Methods summary
public POP3
# __construct( )

Constructor, sets the initial values

Constructor, sets the initial values

Returns

POP3
public
# Authorise( string $host, integer $port = false, integer $tval = false, string $username, string $password, $debug_level = 0 )

Combination of public events - connect, login, disconnect

Combination of public events - connect, login, disconnect

Parameters

$host
string
$port
integer
$tval
integer
$username
string
$password
string
$debug_level
public boolean
# Connect( string $host, integer $port = false, integer $tval = 30 )

Connect to the POP3 server

Connect to the POP3 server

Parameters

$host
string
$port
integer
$tval
integer

Returns

boolean
public boolean
# Login( string $username = '', string $password = '' )

Login to the POP3 server (does not support APOP yet)

Login to the POP3 server (does not support APOP yet)

Parameters

$username
string
$password
string

Returns

boolean
public
# Disconnect( )

Disconnect from the POP3 server

Disconnect from the POP3 server

Properties summary
public integer $POP3_PORT 110
#

Default POP3 port

Default POP3 port

public integer $POP3_TIMEOUT 30
#

Default Timeout

Default Timeout

public string $CRLF "\r\n"
#

POP3 Carriage Return + Line Feed

POP3 Carriage Return + Line Feed

public integer $do_debug 2
#

Displaying Debug warnings? (0 = now, 1+ = yes)

Displaying Debug warnings? (0 = now, 1+ = yes)

public string $host
#

POP3 Mail Server

POP3 Mail Server

public integer $port
#

POP3 Port

POP3 Port

public integer $tval
#

POP3 Timeout Value

POP3 Timeout Value

public string $username
#

POP3 Username

POP3 Username

public string $password
#

POP3 Password

POP3 Password

public string $Version '5.2.1'
#

Sets the POP3 PHPMailer Version number

Sets the POP3 PHPMailer Version number

Pry Framework API documentation generated by ApiGen 2.6.1