phpBB API Documentation
Class

smtp_class

class smtp_class

SMTP Class Auth Mechanisms originally taken from the AUTH Modules found within the PHP Extension and Application Repository (PEAR) See docs/AUTHORS for more details

Properties

$server_response
$socket
$responses
$commands
$numeric_response_code
$backtrace
$backtrace_log

Methods

smtp_class()

add_backtrace($message)

Add backtrace message for debugging

server_send($command, $private_info = false)

Send command to smtp server

server_parse($response, $line)

We use the line to give the support people an indication at which command the error occurred

close_session($err_msg)

Close session

log_into_server($hostname, $username, $password, $default_auth_method)

Log into server and get possible auth codes if neccessary

pop_before_smtp($hostname, $username, $password)

Pop before smtp authentication

plain($username, $password)

Plain authentication method

login($username, $password)

Login authentication method

cram_md5($username, $password)

cram_md5 authentication method

digest_md5($username, $password)

digest_md5 authentication method A real pain in the ***

Details

at line 1174
public smtp_class()

at line 1184
public add_backtrace($message)

Add backtrace message for debugging

Parameters

$message

at line 1195
public server_send($command, $private_info = false)

Send command to smtp server

Parameters

$command
$private_info

at line 1207
public server_parse($response, $line)

We use the line to give the support people an indication at which command the error occurred

Parameters

$response
$line

at line 1239
public close_session($err_msg)

Close session

Parameters

$err_msg

at line 1253
public log_into_server($hostname, $username, $password, $default_auth_method)

Log into server and get possible auth codes if neccessary

Parameters

$hostname
$username
$password
$default_auth_method

at line 1389
public pop_before_smtp($hostname, $username, $password)

Pop before smtp authentication

Parameters

$hostname
$username
$password

at line 1424
public plain($username, $password)

Plain authentication method

Parameters

$username
$password

at line 1445
public login($username, $password)

Login authentication method

Parameters

$username
$password

at line 1471
public cram_md5($username, $password)

cram_md5 authentication method

Parameters

$username
$password

at line 1498
public digest_md5($username, $password)

digest_md5 authentication method A real pain in the ***

Parameters

$username
$password