<?php
namespace PHPMailer\PHPMailer; class PHPMailer { const CHARSET_ASCII = "\165\163\55\x61\x73\143\151\x69"; const CHARSET_ISO88591 = "\x69\x73\157\x2d\70\70\65\71\x2d\x31"; const CHARSET_UTF8 = "\x75\x74\146\55\70"; const CONTENT_TYPE_PLAINTEXT = "\x74\145\170\x74\x2f\160\154\x61\151\x6e"; const CONTENT_TYPE_TEXT_CALENDAR = "\x74\145\x78\164\57\143\x61\154\145\156\x64\x61\162"; const CONTENT_TYPE_TEXT_HTML = "\164\145\170\x74\x2f\150\x74\155\154"; const CONTENT_TYPE_MULTIPART_ALTERNATIVE = "\155\165\x6c\x74\151\x70\x61\x72\x74\x2f\x61\154\164\x65\162\x6e\141\x74\x69\166\x65"; const CONTENT_TYPE_MULTIPART_MIXED = "\155\165\x6c\x74\151\x70\x61\x72\164\57\155\151\170\x65\144"; const CONTENT_TYPE_MULTIPART_RELATED = "\155\x75\154\x74\x69\160\x61\x72\164\x2f\162\145\154\x61\164\x65\144"; const ENCODING_7BIT = "\x37\x62\151\x74"; const ENCODING_8BIT = "\x38\142\151\164"; const ENCODING_BASE64 = "\142\x61\163\145\66\x34"; const ENCODING_BINARY = "\142\x69\x6e\x61\x72\x79"; const ENCODING_QUOTED_PRINTABLE = "\x71\165\157\164\145\x64\55\160\x72\x69\x6e\x74\x61\x62\154\x65"; const ENCRYPTION_STARTTLS = "\x74\x6c\x73"; const ENCRYPTION_SMTPS = "\x73\163\154"; const ICAL_METHOD_REQUEST = "\x52\105\121\125\x45\123\124"; const ICAL_METHOD_PUBLISH = "\x50\125\x42\114\x49\x53\x48"; const ICAL_METHOD_REPLY = "\122\x45\120\114\131"; const ICAL_METHOD_ADD = "\101\104\x44"; const ICAL_METHOD_CANCEL = "\x43\101\116\x43\105\114"; const ICAL_METHOD_REFRESH = "\122\x45\x46\122\105\x53\110"; const ICAL_METHOD_COUNTER = "\x43\117\x55\x4e\124\105\122"; const ICAL_METHOD_DECLINECOUNTER = "\x44\105\x43\x4c\x49\x4e\x45\103\117\x55\x4e\x54\105\x52"; public $Priority; public $CharSet = self::CHARSET_ISO88591; public $ContentType = self::CONTENT_TYPE_PLAINTEXT; public $Encoding = self::ENCODING_8BIT; public $ErrorInfo = ''; public $From = "\x72\157\157\164\100\154\157\x63\x61\154\x68\157\x73\x74"; public $FromName = "\x52\157\x6f\164\40\x55\x73\145\162"; public $Sender = ''; public $Subject = ''; public $Body = ''; public $AltBody = ''; public $Ical = ''; protected static $IcalMethods = array(self::ICAL_METHOD_REQUEST, self::ICAL_METHOD_PUBLISH, self::ICAL_METHOD_REPLY, self::ICAL_METHOD_ADD, self::ICAL_METHOD_CANCEL, self::ICAL_METHOD_REFRESH, self::ICAL_METHOD_COUNTER, self::ICAL_METHOD_DECLINECOUNTER); protected $MIMEBody = ''; protected $MIMEHeader = ''; protected $mailHeader = ''; public $WordWrap = 0; public $Mailer = "\155\141\x69\154"; public $Sendmail = "\x2f\165\x73\x72\57\163\142\x69\156\x2f\x73\145\x6e\x64\x6d\141\151\x6c"; public $UseSendmailOptions = true; public $ConfirmReadingTo = ''; public $Hostname = ''; public $MessageID = ''; public $MessageDate = ''; public $Host = "\x6c\x6f\x63\141\x6c\x68\x6f\x73\164"; public $Port = 25; public $Helo = ''; public $SMTPSecure = ''; public $SMTPAutoTLS = true; public $SMTPAuth = false; public $SMTPOptions = array(); public $Username = ''; public $Password = ''; public $AuthType = ''; protected $oauth; public $Timeout = 300; public $dsn = ''; public $SMTPDebug = 0; public $Debugoutput = "\145\x63\x68\157"; public $SMTPKeepAlive = false; public $SingleTo = false; protected $SingleToArray = array(); public $do_verp = false; public $AllowEmpty = false; public $DKIM_selector = ''; public $DKIM_identity = ''; public $DKIM_passphrase = ''; public $DKIM_domain = ''; public $DKIM_copyHeaderFields = true; public $DKIM_extraHeaders = array(); public $DKIM_private = ''; public $DKIM_private_string = ''; public $action_function = ''; public $XMailer = ''; public static $validator = "\x70\150\160"; protected $smtp; protected $to = array(); protected $cc = array(); protected $bcc = array(); protected $ReplyTo = array(); protected $all_recipients = array(); protected $RecipientsQueue = array(); protected $ReplyToQueue = array(); protected $attachment = array(); protected $CustomHeader = array(); protected $lastMessageID = ''; protected $message_type = ''; protected $boundary = array(); protected $language = array(); protected $error_count = 0; protected $sign_cert_file = ''; protected $sign_key_file = ''; protected $sign_extracerts_file = ''; protected $sign_key_pass = ''; protected $exceptions = false; protected $uniqueid = ''; const VERSION = "\x36\x2e\61\56\65"; const STOP_MESSAGE = 0; const STOP_CONTINUE = 1; const STOP_CRITICAL = 2; const CRLF = "\xd\12"; const FWS = "\40"; protected static $LE = self::CRLF; const MAIL_MAX_LINE_LENGTH = 63; const MAX_LINE_LENGTH = 998; const STD_LINE_LENGTH = 76; public function __construct($exceptions = null) { goto h6KKP; h6KKP: if (!(null !== $exceptions)) { goto UxD_M; } goto BgDs6; smpAP: UxD_M: goto mhgz0; BgDs6: $this->exceptions = (bool) $exceptions; goto smpAP; mhgz0: $this->Debugoutput = strpos(PHP_SAPI, "\x63\154\x69") !== false ? "\x65\143\150\x6f" : "\x68\164\155\x6c"; goto jMLQt; jMLQt: } public function __destruct() { $this->smtpClose(); } private function mailPassthru($to, $subject, $body, $header, $params) { goto s1WSR; iaLUa: $result = @mail($to, $subject, $body, $header); goto LHU4g; I4EMX: goto yZEb2; goto Pd94U; LHU4g: oPupc: goto FU1cf; kk5z0: yZEb2: goto vIN3x; PPjk1: goto oPupc; goto Ijmlq; vIN3x: if (!$this->UseSendmailOptions || null === $params) { goto USUNn; } goto DtsSB; FU1cf: return $result; goto PQAy2; Ijmlq: USUNn: goto iaLUa; RlEqO: $subject = $this->secureHeader($subject); goto kk5z0; DtsSB: $result = @mail($to, $subject, $body, $header, $params); goto PPjk1; kweJP: $subject = $this->encodeHeader($this->secureHeader($subject)); goto I4EMX; s1WSR: if (ini_get("\x6d\x62\163\x74\162\151\x6e\x67\56\x66\165\156\x63\x5f\x6f\166\x65\x72\x6c\x6f\x61\x64") & 1) { goto OOwwY; } goto kweJP; Pd94U: OOwwY: goto RlEqO; PQAy2: } protected function edebug($str) { goto ptB7R; CYImn: WLTcA: goto Wr0Eq; GDbGX: r2saw: goto x67Wf; Icqmd: switch ($this->Debugoutput) { case "\145\162\x72\157\162\137\154\x6f\x67": error_log($str); goto yfHF1; case "\x68\164\155\x6c": echo htmlentities(preg_replace("\x2f\133\x5c\x72\134\156\x5d\x2b\x2f", '', $str), ENT_QUOTES, "\x55\124\x46\x2d\70"), "\74\142\x72\76\xa"; goto yfHF1; case "\x65\143\150\157": default: $str = preg_replace("\57\x5c\x72\x5c\156\x7c\x5c\x72\57\155", "\xa", $str); echo gmdate("\131\55\x6d\x2d\144\x20\110\x3a\151\72\x73"), "\11", trim(str_replace("\xa", "\xa\x20\40\x20\40\x20\40\x20\x20\40\x20\40\x20\x20\40\40\x20\40\x20\40\11\40\40\x20\40\40\40\x20\40\x20\40\40\x20\x20\x20\40\x20\40\x20", trim($str))), "\12"; } goto GDbGX; x67Wf: yfHF1: goto zmDhG; rKqhy: return; goto xB6ca; R2Tt2: return; goto U23Bl; iGklM: call_user_func($this->Debugoutput, $str, $this->SMTPDebug); goto rKqhy; xB6ca: Z5tcn: goto Icqmd; FxGjY: $this->Debugoutput->debug($str); goto c2BYJ; c2BYJ: return; goto CYImn; U23Bl: Tel55: goto kxZRk; ptB7R: if (!($this->SMTPDebug <= 0)) { goto Tel55; } goto R2Tt2; Wr0Eq: if (!(is_callable($this->Debugoutput) && !in_array($this->Debugoutput, ["\x65\162\x72\x6f\162\137\x6c\157\147", "\x68\x74\155\x6c", "\145\143\x68\157"]))) { goto Z5tcn; } goto iGklM; kxZRk: if (!$this->Debugoutput instanceof \Psr\Log\LoggerInterface) { goto WLTcA; } goto FxGjY; zmDhG: } public function isHTML($isHtml = true) { goto z6plf; z6plf: if ($isHtml) { goto FoxVy; } goto EZcHX; OFR7R: $this->ContentType = static::CONTENT_TYPE_TEXT_HTML; goto XHsL7; WUtac: goto eCoUH; goto GKX5f; GKX5f: FoxVy: goto OFR7R; XHsL7: eCoUH: goto nsn61; EZcHX: $this->ContentType = static::CONTENT_TYPE_PLAINTEXT; goto WUtac; nsn61: } public function isSMTP() { $this->Mailer = "\163\x6d\x74\x70"; } public function isMail() { $this->Mailer = "\155\141\151\154"; } public function isSendmail() { goto B4EuZ; TVN88: $this->Sendmail = $ini_sendmail_path; goto OE0zX; lynTM: JEMUw: goto AOQYX; Fe_v3: x1QyE: goto FZspY; B4EuZ: $ini_sendmail_path = ini_get("\x73\145\x6e\144\155\x61\x69\x6c\137\x70\141\164\x68"); goto OP8nM; OE0zX: goto JEMUw; goto Fe_v3; OP8nM: if (false === stripos($ini_sendmail_path, "\163\x65\156\144\x6d\141\151\154")) { goto x1QyE; } goto TVN88; AOQYX: $this->Mai