You are here

public function SMTP::getError in SMTP Authentication Support 7.2

Same name and namespace in other branches
  1. 7 smtp.transport.inc \SMTP::getError()

Get the current error @access public

Return value

array

File

./smtp.transport.inc, line 781
SMTP mail transport class for the smtp module,based on code of the phpmailer library, customized and relicensed to GPLv2

Class

SMTP
SMTP is rfc 821 compliant and implements all the rfc 821 SMTP commands except TURN which will always return a not implemented error. SMTP also provides some utility methods for sending mail to an SMTP server. original author: Chris Ryan

Code

public function getError() {
  return $this->error;
}