2024-07-20 22:43:30 CLIENT -> SERVER: EHLO test.jmc.edu.pk
2024-07-20 22:43:30 CLIENT -> SERVER: STARTTLS
2024-07-20 22:43:31 CLIENT -> SERVER: EHLO test.jmc.edu.pk
2024-07-20 22:43:31 CLIENT -> SERVER: AUTH LOGIN
2024-07-20 22:43:31 CLIENT -> SERVER: [credentials hidden]
2024-07-20 22:43:31 CLIENT -> SERVER: [credentials hidden]
2024-07-20 22:43:37 SMTP ERROR: Password command failed: 535 5.7.139 Authentication unsuccessful, SmtpClientAuthentication is disabled for the Tenant. Visit https://aka.ms/smtp_auth_disabled for more information. [BN0PR07CA0006.namprd07.prod.outlook.com 2024-07-20T22:43:37.191Z 08DCA909EA32F4A1]
SMTP Error: Could not authenticate.
2024-07-20 22:43:37 CLIENT -> SERVER: QUIT
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Error while sending Email.object(PHPMailer\PHPMailer\PHPMailer)#1 (74) { ["Priority"]=> NULL ["CharSet"]=> string(10) "iso-8859-1" ["ContentType"]=> string(21) "multipart/alternative" ["Encoding"]=> string(4) "8bit" ["ErrorInfo"]=> string(82) "SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting" ["From"]=> string(25) "itsupport.jmdc@jmc.edu.pk" ["FromName"]=> string(9) "from-name" ["Sender"]=> string(25) "itsupport.jmdc@jmc.edu.pk" ["Subject"]=> string(56) "Test is Test Email sent via SMTP Server using PHP Mailer" ["Body"]=> string(72) "This is a Test Email sent via SMTP Server using PHP mailer class." ["AltBody"]=> string(65) "This is a Test Email sent via SMTP Server using PHP mailer class." ["Ical"]=> string(0) "" ["MIMEBody":protected]=> string(390) "--b1=_xMpBs2MsYDncm2Dr9Z4cOXLdArNh91zoIGfczQeowg Content-Type: text/plain; charset=us-ascii This is a Test Email sent via SMTP Server using PHP mailer class. --b1=_xMpBs2MsYDncm2Dr9Z4cOXLdArNh91zoIGfczQeowg Content-Type: text/html; charset=us-ascii This is a Test Email sent via SMTP Server using PHP mailer class. --b1=_xMpBs2MsYDncm2Dr9Z4cOXLdArNh91zoIGfczQeowg-- " ["MIMEHeader":protected]=> string(480) "Date: Sat, 20 Jul 2024 22:43:29 +0000 To: zohaib From: from-name Subject: Test is Test Email sent via SMTP Server using PHP Mailer Message-ID: X-Mailer: PHPMailer 6.7.1 (https://github.com/PHPMailer/PHPMailer) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b1=_xMpBs2MsYDncm2Dr9Z4cOXLdArNh91zoIGfczQeowg" Content-Transfer-Encoding: 8bit " ["mailHeader":protected]=> string(0) "" ["WordWrap"]=> int(0) ["Mailer"]=> string(4) "smtp" ["Sendmail"]=> string(18) "/usr/sbin/sendmail" ["UseSendmailOptions"]=> bool(true) ["ConfirmReadingTo"]=> string(0) "" ["Hostname"]=> string(0) "" ["MessageID"]=> string(0) "" ["MessageDate"]=> string(0) "" ["Host"]=> string(18) "smtp.office365.com" ["Port"]=> int(587) ["Helo"]=> string(0) "" ["SMTPSecure"]=> string(3) "tls" ["SMTPAutoTLS"]=> bool(true) ["SMTPAuth"]=> bool(true) ["SMTPOptions"]=> array(0) { } ["Username"]=> string(25) "itsupport.jmdc@jmc.edu.pk" ["Password"]=> string(10) "KfBn4321jm" ["AuthType"]=> string(0) "" ["oauth":protected]=> NULL ["Timeout"]=> int(300) ["dsn"]=> string(0) "" ["SMTPDebug"]=> int(1) ["Debugoutput"]=> string(4) "html" ["SMTPKeepAlive"]=> bool(false) ["SingleTo"]=> bool(false) ["SingleToArray":protected]=> array(0) { } ["do_verp"]=> bool(false) ["AllowEmpty"]=> bool(false) ["DKIM_selector"]=> string(0) "" ["DKIM_identity"]=> string(0) "" ["DKIM_passphrase"]=> string(0) "" ["DKIM_domain"]=> string(0) "" ["DKIM_copyHeaderFields"]=> bool(true) ["DKIM_extraHeaders"]=> array(0) { } ["DKIM_private"]=> string(0) "" ["DKIM_private_string"]=> string(0) "" ["action_function"]=> string(0) "" ["XMailer"]=> string(0) "" ["smtp":protected]=> object(PHPMailer\PHPMailer\SMTP)#2 (12) { ["do_debug"]=> int(1) ["Debugoutput"]=> string(4) "html" ["do_verp"]=> bool(false) ["Timeout"]=> int(300) ["Timelimit"]=> int(300) ["smtp_transaction_id_patterns":protected]=> array(9) { ["exim"]=> string(20) "/[\d]{3} OK id=(.*)/" ["sendmail"]=> string(28) "/[\d]{3} 2.0.0 (.*) Message/" ["postfix"]=> string(34) "/[\d]{3} 2.0.0 Ok: queued as (.*)/" ["Microsoft_ESMTP"]=> string(56) "/[0-9]{3} 2.[\d].0 (.*)@(?:.*) Queued mail for delivery/" ["Amazon_SES"]=> string(17) "/[\d]{3} Ok (.*)/" ["SendGrid"]=> string(28) "/[\d]{3} Ok: queued as (.*)/" ["CampaignMonitor"]=> string(35) "/[\d]{3} 2.0.0 OK:([a-zA-Z\d]{48})/" ["Haraka"]=> string(33) "/[\d]{3} Message Queued \((.*)\)/" ["Mailjet"]=> string(27) "/[\d]{3} OK queued as (.*)/" } ["last_smtp_transaction_id":protected]=> NULL ["smtp_conn":protected]=> NULL ["error":protected]=> array(4) { ["error"]=> string(0) "" ["detail"]=> string(0) "" ["smtp_code"]=> string(0) "" ["smtp_code_ex"]=> string(0) "" } ["helo_rply":protected]=> NULL ["server_caps":protected]=> NULL ["last_reply":protected]=> string(48) "221 2.0.0 Service closing transmission channel " } ["to":protected]=> array(1) { [0]=> array(2) { [0]=> string(22) "zohaib_780@hotmail.com" [1]=> string(6) "zohaib" } } ["cc":protected]=> array(0) { } ["bcc":protected]=> array(0) { } ["ReplyTo":protected]=> array(0) { } ["all_recipients":protected]=> array(1) { ["zohaib_780@hotmail.com"]=> bool(true) } ["RecipientsQueue":protected]=> array(0) { } ["ReplyToQueue":protected]=> array(0) { } ["attachment":protected]=> array(0) { } ["CustomHeader":protected]=> array(0) { } ["lastMessageID":protected]=> string(60) "" ["message_type":protected]=> string(3) "alt" ["boundary":protected]=> array(3) { [1]=> string(46) "b1=_xMpBs2MsYDncm2Dr9Z4cOXLdArNh91zoIGfczQeowg" [2]=> string(46) "b2=_xMpBs2MsYDncm2Dr9Z4cOXLdArNh91zoIGfczQeowg" [3]=> string(46) "b3=_xMpBs2MsYDncm2Dr9Z4cOXLdArNh91zoIGfczQeowg" } ["language":protected]=> array(26) { ["authenticate"]=> string(35) "SMTP Error: Could not authenticate." ["buggy_php"]=> string(250) "Your version of PHP is affected by a bug that may result in corrupted messages. To fix it, switch to sending using SMTP, disable the mail.add_x_header option in your php.ini, switch to MacOS or Linux, or upgrade your PHP to version 7.0.17+ or 7.1.3+." ["connect_host"]=> string(43) "SMTP Error: Could not connect to SMTP host." ["data_not_accepted"]=> string(30) "SMTP Error: data not accepted." ["empty_message"]=> string(18) "Message body empty" ["encoding"]=> string(18) "Unknown encoding: " ["execute"]=> string(19) "Could not execute: " ["extension_missing"]=> string(19) "Extension missing: " ["file_access"]=> string(23) "Could not access file: " ["file_open"]=> string(33) "File Error: Could not open file: " ["from_failed"]=> string(35) "The following From address failed: " ["instantiate"]=> string(36) "Could not instantiate mail function." ["invalid_address"]=> string(17) "Invalid address: " ["invalid_header"]=> string(28) "Invalid header name or value" ["invalid_hostentry"]=> string(19) "Invalid hostentry: " ["invalid_host"]=> string(14) "Invalid host: " ["mailer_not_supported"]=> string(25) " mailer is not supported." ["provide_address"]=> string(54) "You must provide at least one recipient email address." ["recipients_failed"]=> string(45) "SMTP Error: The following recipients failed: " ["signing"]=> string(15) "Signing Error: " ["smtp_code"]=> string(11) "SMTP code: " ["smtp_code_ex"]=> string(22) "Additional SMTP info: " ["smtp_connect_failed"]=> string(22) "SMTP connect() failed." ["smtp_detail"]=> string(8) "Detail: " ["smtp_error"]=> string(19) "SMTP server error: " ["variable_set"]=> string(30) "Cannot set or reset variable: " } ["error_count":protected]=> int(1) ["sign_cert_file":protected]=> string(0) "" ["sign_key_file":protected]=> string(0) "" ["sign_extracerts_file":protected]=> string(0) "" ["sign_key_pass":protected]=> string(0) "" ["exceptions":protected]=> bool(false) ["uniqueid":protected]=> string(42) "xMpBs2MsYDncm2Dr9Z4cOXLdArNh91zoIGfczQeowg" }