mail_fetch/setup.php

Copyright (c) 1999-2011 CDI (cdi@thewebmasters.net) All Rights Reserved Modified by Philippe Mingo 2001-2009 mingo@rotedic.com An RFC 1939 compliant wrapper class for the POP3 protocol.

Licensed under the GNU GPL. For full terms see the file COPYING.

POP3 class

copyright 1999-2011 The SquirrelMail Project Team
license GNU Public License
package plugins
subpackage mail_fetch

 Methods

PHP4 constructor.

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

Parameters

$server

$timeout

PHP5 constructor.

__construct($server = '', $timeout = ''

Parameters

$server

$timeout

apop()

apop($login, $pass) 

Parameters

$login

$pass

connect()

connect($server, $port = 110

Parameters

$server

$port

delete()

delete($msgNum = ""

Parameters

$msgNum

get()

get($msgNum) 

Parameters

$msgNum

is_ok()

is_ok($cmd = ""

Parameters

$cmd

last()

last($type = "count"

Parameters

$type

parse_banner()

parse_banner($server_text) 

Parameters

$server_text

pass()

pass($pass = ""

Parameters

$pass

pop_list()

pop_list($msgNum = ""

Parameters

$msgNum

popstat()

popstat() 

quit()

quit() 

reset()

reset() 

send_cmd()

send_cmd($cmd = ""

Parameters

$cmd

strip_clf()

strip_clf($text = ""

Parameters

$text

top()

top($msgNum, $numLines = "0"

Parameters

$msgNum

$numLines

uidl()

uidl($msgNum = ""

Parameters

$msgNum

update_timer()

update_timer() 

user()

user($user = ""

Parameters

$user

 Properties

 

$ALLOWAPOP

$ALLOWAPOP 

Default

FALSE
 

$BANNER

$BANNER 

Default

''
 

$BUFFER

$BUFFER 

Default

512
 

$COUNT

$COUNT 

Default

-1
 

$DEBUG

$DEBUG 

Default

FALSE
 

$ERROR

$ERROR 

Default

''
 

$FP

$FP 

Default

''
 

$MAILSERVER

$MAILSERVER 

Default

''
 

$TIMEOUT

$TIMEOUT 

Default

60