squirrelmail-webmail  1.4.22
About: SquirrelMail is a standards-based webmail package with strong MIME support, address books, and folder manipulation (written in PHP4).
  Fossies Dox: squirrelmail-webmail-1.4.22.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

POP3 Class Reference

Public Member Functions

 POP3 ( $server='', $timeout='')
 
 update_timer ()
 
 connect ($server, $port=110)
 
 user ($user="")
 
 pass ($pass="")
 
 apop ($login, $pass)
 
 login ($login="", $pass="")
 
 top ($msgNum, $numLines="0")
 
 pop_list ($msgNum="")
 
 get ($msgNum)
 
 last ( $type="count")
 
 reset ()
 
 send_cmd ( $cmd="")
 
 quit ()
 
 popstat ()
 
 uidl ($msgNum="")
 
 delete ($msgNum="")
 
 is_ok ($cmd="")
 
 strip_clf ($text="")
 
 parse_banner ( $server_text)
 

Public Attributes

 $ERROR = ''
 
 $TIMEOUT = 60
 
 $COUNT = -1
 
 $BUFFER = 512
 
 $FP = ''
 
 $MAILSERVER = ''
 
 $DEBUG = FALSE
 
 $BANNER = ''
 
 $ALLOWAPOP = FALSE
 

Detailed Description

Definition at line 21 of file class.POP3.php.

Member Function Documentation

◆ apop()

POP3::apop (   $login,
  $pass 
)

Definition at line 157 of file class.POP3.php.

References $BANNER, $count, _(), elseif, is_ok(), last(), login(), and send_cmd().

◆ connect()

POP3::connect (   $server,
  $port = 110 
)

Definition at line 73 of file class.POP3.php.

References $MAILSERVER, _(), is_ok(), parse_banner(), strip_clf(), and update_timer().

◆ delete()

POP3::delete (   $msgNum = "")

Definition at line 574 of file class.POP3.php.

References _(), is_ok(), and send_cmd().

◆ get()

POP3::get (   $msgNum)

Definition at line 342 of file class.POP3.php.

References $BUFFER, $count, $FP, _(), is_ok(), send_cmd(), and update_timer().

◆ is_ok()

POP3::is_ok (   $cmd = "")

Definition at line 601 of file class.POP3.php.

Referenced by apop(), connect(), delete(), get(), last(), pass(), pop_list(), reset(), top(), uidl(), and user().

◆ last()

POP3::last (   $type = "count")

Definition at line 380 of file class.POP3.php.

References $count, _(), is_ok(), and send_cmd().

Referenced by apop(), pass(), and popstat().

◆ login()

POP3::login (   $login = "",
  $pass = "" 
)

Definition at line 201 of file class.POP3.php.

References $count, $FP, _(), pass(), and user().

Referenced by apop().

◆ parse_banner()

POP3::parse_banner (   $server_text)

Definition at line 621 of file class.POP3.php.

References $count, and strip_clf().

Referenced by connect().

◆ pass()

POP3::pass (   $pass = "")

Definition at line 132 of file class.POP3.php.

References $count, _(), elseif, is_ok(), last(), quit(), and send_cmd().

Referenced by login().

◆ POP3()

POP3::POP3 (   $server = '',
  $timeout = '' 
)

Definition at line 49 of file class.POP3.php.

◆ pop_list()

POP3::pop_list (   $msgNum = "")

Definition at line 267 of file class.POP3.php.

References $COUNT, $FP, $num, _(), is_ok(), send_cmd(), strip_clf(), and update_timer().

◆ popstat()

POP3::popstat ( )

Definition at line 492 of file class.POP3.php.

References last().

◆ quit()

POP3::quit ( )

Definition at line 472 of file class.POP3.php.

References $FP, _(), and strip_clf().

Referenced by pass(), and reset().

◆ reset()

POP3::reset ( )

Definition at line 411 of file class.POP3.php.

References _(), is_ok(), quit(), and send_cmd().

◆ send_cmd()

POP3::send_cmd (   $cmd = "")

Definition at line 435 of file class.POP3.php.

References $BUFFER, $FP, _(), strip_clf(), and update_timer().

Referenced by apop(), delete(), get(), last(), pass(), pop_list(), reset(), uidl(), and user().

◆ strip_clf()

POP3::strip_clf (   $text = "")

Definition at line 610 of file class.POP3.php.

Referenced by connect(), parse_banner(), pop_list(), quit(), send_cmd(), top(), and uidl().

◆ top()

POP3::top (   $msgNum,
  $numLines = "0" 
)

Definition at line 225 of file class.POP3.php.

References $BUFFER, $count, $FP, _(), is_ok(), strip_clf(), and update_timer().

◆ uidl()

POP3::uidl (   $msgNum = "")

Definition at line 507 of file class.POP3.php.

References $BUFFER, $COUNT, $count, $FP, $num, _(), is_ok(), send_cmd(), strip_clf(), and update_timer().

◆ update_timer()

POP3::update_timer ( )

Definition at line 67 of file class.POP3.php.

Referenced by connect(), get(), pop_list(), send_cmd(), top(), and uidl().

◆ user()

POP3::user (   $user = "")

Definition at line 113 of file class.POP3.php.

References _(), elseif, is_ok(), and send_cmd().

Referenced by login().

Member Data Documentation

◆ $ALLOWAPOP

POP3::$ALLOWAPOP = FALSE

Definition at line 45 of file class.POP3.php.

◆ $BANNER

POP3::$BANNER = ''

Definition at line 42 of file class.POP3.php.

Referenced by apop().

◆ $BUFFER

POP3::$BUFFER = 512

Definition at line 29 of file class.POP3.php.

Referenced by get(), send_cmd(), top(), and uidl().

◆ $COUNT

POP3::$COUNT = -1

Definition at line 27 of file class.POP3.php.

Referenced by pop_list(), and uidl().

◆ $DEBUG

POP3::$DEBUG = FALSE

Definition at line 38 of file class.POP3.php.

◆ $ERROR

POP3::$ERROR = ''

Definition at line 22 of file class.POP3.php.

◆ $FP

POP3::$FP = ''

Definition at line 33 of file class.POP3.php.

Referenced by get(), login(), pop_list(), quit(), send_cmd(), top(), and uidl().

◆ $MAILSERVER

POP3::$MAILSERVER = ''

Definition at line 36 of file class.POP3.php.

Referenced by connect().

◆ $TIMEOUT

POP3::$TIMEOUT = 60

Definition at line 24 of file class.POP3.php.


The documentation for this class was generated from the following file: