Get the queue/transaction ID of the last SMTP transaction If no reply has been received yet, it will return null.
SMTP::recordLastTransactionID
Extract and return the ID of the last SMTP transaction based on a list of patterns provided in SMTP::$smtp_transaction_id_patterns.
SMTP::errorHandler
Reports an error number and string.
SMTP::setTimeout
Set SMTP timeout.
Advertisement
SMTP::getTimeout
Get SMTP timeout.
SMTP::getDebugLevel
Get debug output level.
SMTP::setDebugLevel
Set debug output level.
SMTP::setDebugOutput
Set debug output method.
Advertisement
SMTP::getDebugOutput
Get debug output method.
SMTP::setError
Set error messages and codes.
SMTP::getVerp
Get VERP address generation mode.
SMTP::setVerp
Enable or disable VERP address generation.
Advertisement
SMTP::get_lines
Read the SMTP server’s response.
SMTP::getLastReply
Get the last reply from the server.
SMTP::getServerExt
A multipurpose method The method works in three ways, dependent on argument value and current state 1. HELO/EHLO was not sent – returns null and set up $this->error 2. HELO was sent $name = ‘HELO’: returns server name $name = ‘EHLO’: returns boolean false $name = any string: returns null and set up $this->error 3. EHLO was sent $name = ‘HELO’|’EHLO’: returns server name $name = any string: if extension $name exists, returns boolean True or its options. Otherwise returns boolean False In other words, one can use this method to detect 3 conditions: – null returned: handshake was not or we don’t know about ext (refer to $this->error) – false returned: the requested feature exactly not exists – positive value returned: the requested feature exists