PHPMailer\PHPMailer\PHPMailer Object
(
    [Priority] => 
    [CharSet] => utf-8
    [ContentType] => text/html
    [Encoding] => 8bit
    [ErrorInfo] => 
    [From] => paymenthelp@twitire.com
    [FromName] => First Last
    [Sender] => paymenthelp@twitire.com
    [Subject] => PHPMailer Outlook XOAUTH2 SMTP test
    [Body] => This is the HTML message body in bold!
    [AltBody] => This is a plain-text message body
    [Ical] => 
    [MIMEBody:protected] => 
    [MIMEHeader:protected] => 
    [mailHeader:protected] => 
    [WordWrap] => 0
    [Mailer] => smtp
    [Sendmail] => /usr/sbin/sendmail
    [UseSendmailOptions] => 1
    [ConfirmReadingTo] => 
    [Hostname] => 
    [MessageID] => 
    [MessageDate] => 
    [Host] => smtp.office365.com
    [Port] => 587
    [Helo] => 
    [SMTPSecure] => tls
    [SMTPAutoTLS] => 1
    [SMTPAuth] => 1
    [SMTPOptions] => Array
        (
        )

    [Username] => 
    [Password] => 
    [AuthType] => XOAUTH2
    [SMTPXClient:protected] => Array
        (
        )

    [oauth:protected] => PHPMailer\PHPMailer\OAuth Object
        (
            [provider:protected] => Greew\OAuth2\Client\Provider\Azure Object
                (
                    [clientId:protected] => 75aea12d-3b1e-4c6a-b173-57a93e5c457e
                    [clientSecret:protected] => g3w8Q~q8xC9TRuKPEuDJ9pNzBuavxQvS-FhqlcI2
                    [redirectUri:protected] => 
                    [state:protected] => 
                    [pkceCode:protected] => 
                    [grantFactory:protected] => League\OAuth2\Client\Grant\GrantFactory Object
                        (
                            [registry:protected] => Array
                                (
                                )

                        )

                    [requestFactory:protected] => League\OAuth2\Client\Tool\RequestFactory Object
                        (
                        )

                    [httpClient:protected] => GuzzleHttp\Client Object
                        (
                            [config:GuzzleHttp\Client:private] => Array
                                (
                                    [handler] => GuzzleHttp\HandlerStack Object
                                        (
                                            [handler:GuzzleHttp\HandlerStack:private] => Closure Object
                                                (
                                                    [static] => Array
                                                        (
                                                            [default] => GuzzleHttp\Handler\CurlMultiHandler Object
                                                                (
                                                                    [factory:GuzzleHttp\Handler\CurlMultiHandler:private] => GuzzleHttp\Handler\CurlFactory Object
                                                                        (
                                                                            [handles:GuzzleHttp\Handler\CurlFactory:private] => Array
                                                                                (
                                                                                )

                                                                            [maxHandles:GuzzleHttp\Handler\CurlFactory:private] => 50
                                                                        )

                                                                    [selectTimeout:GuzzleHttp\Handler\CurlMultiHandler:private] => 1
                                                                    [active:GuzzleHttp\Handler\CurlMultiHandler:private] => 0
                                                                    [handles:GuzzleHttp\Handler\CurlMultiHandler:private] => Array
                                                                        (
                                                                        )

                                                                    [delays:GuzzleHttp\Handler\CurlMultiHandler:private] => Array
                                                                        (
                                                                        )

                                                                    [options:GuzzleHttp\Handler\CurlMultiHandler:private] => Array
                                                                        (
                                                                        )

                                                                )

                                                            [sync] => GuzzleHttp\Handler\CurlHandler Object
                                                                (
                                                                    [factory:GuzzleHttp\Handler\CurlHandler:private] => GuzzleHttp\Handler\CurlFactory Object
                                                                        (
                                                                            [handles:GuzzleHttp\Handler\CurlFactory:private] => Array
                                                                                (
                                                                                )

                                                                            [maxHandles:GuzzleHttp\Handler\CurlFactory:private] => 3
                                                                        )

                                                                )

                                                        )

                                                    [parameter] => Array
                                                        (
                                                            [$request] => 
                                                            [$options] => 
                                                        )

                                                )

                                            [stack:GuzzleHttp\HandlerStack:private] => Array
                                                (
                                                    [0] => Array
                                                        (
                                                            [0] => Closure Object
                                                                (
                                                                    [static] => Array
                                                                        (
                                                                            [bodySummarizer] => 
                                                                        )

                                                                    [parameter] => Array
                                                                        (
                                                                            [$handler] => 
                                                                        )

                                                                )

                                                            [1] => http_errors
                                                        )

                                                    [1] => Array
                                                        (
                                                            [0] => Closure Object
                                                                (
                                                                    [parameter] => Array
                                                                        (
                                                                            [$handler] => 
                                                                        )

                                                                )

                                                            [1] => allow_redirects
                                                        )

                                                    [2] => Array
                                                        (
                                                            [0] => Closure Object
                                                                (
                                                                    [parameter] => Array
                                                                        (
                                                                            [$handler] => 
                                                                        )

                                                                )

                                                            [1] => cookies
                                                        )

                                                    [3] => Array
                                                        (
                                                            [0] => Closure Object
                                                                (
                                                                    [parameter] => Array
                                                                        (
                                                                            [$handler] => 
                                                                        )

                                                                )

                                                            [1] => prepare_body
                                                        )

                                                )

                                            [cached:GuzzleHttp\HandlerStack:private] => 
                                        )

                                    [allow_redirects] => Array
                                        (
                                            [max] => 5
                                            [protocols] => Array
                                                (
                                                    [0] => http
                                                    [1] => https
                                                )

                                            [strict] => 
                                            [referer] => 
                                            [track_redirects] => 
                                        )

                                    [http_errors] => 1
                                    [decode_content] => 1
                                    [verify] => 1
                                    [cookies] => 
                                    [idn_conversion] => 
                                    [headers] => Array
                                        (
                                            [User-Agent] => GuzzleHttp/7
                                        )

                                )

                        )

                    [optionProvider:protected] => League\OAuth2\Client\OptionProvider\PostAuthOptionProvider Object
                        (
                        )

                    [guarded:protected] => Array
                        (
                        )

                    [tenantId:protected] => 9b3e52f9-521c-43a3-9336-989f4ef48203
                    [defaultScopes] => Array
                        (
                            [0] => https://outlook.office.com/SMTP.Send
                            [1] => offline_access
                        )

                    [urlAuthorize:protected] => https://login.microsoftonline.com
                    [urlResourceOwnerDetails:protected] => https://graph.microsoft.com/v1.0/me
                )

            [oauthToken:protected] => 
            [oauthUserEmail:protected] => paymenthelp@twitire.com
            [oauthClientSecret:protected] => g3w8Q~q8xC9TRuKPEuDJ9pNzBuavxQvS-FhqlcI2
            [oauthClientId:protected] => 75aea12d-3b1e-4c6a-b173-57a93e5c457e
            [oauthRefreshToken:protected] => 0.AQcA-VI-mxxSo0OTNpifTvSCAy2hrnUeO2pMsXNXqT5cRX7_AKg.AgABAAEAAAAmoFfGtYxvRrNriQdPKIZ-AgDs_wUA9P9bPafVl-lPA03LxguNidl7jL8-1t5GMDPUXdyRTwhsuZmJiqtI41DQEGlU_uZnF9FHr0FiXbDdN3_WQDrSXDqbXcNYKoWpMatxvFav0Kgw6QHLfV17_Zp42vao3LcUc0TRrSTSZreZdQAM_dn5SCMKF1HckebtcIDPqFjvf2Qf60mHNhd-6QMSj_T8HAy0SNN7g0_okNP73Io1tyM5EWusiRyQRQeHsZvTuGhgNrdD_cY8npwsN_euAGMTlHonv1HBRumw-PbduCgGgBYyFRCEdluHgFRrZPElHJd8mtK-RTVAbJv2arwvgFilNFvsQc3VDX17Y5M41XAMSOS1Yfkp-7b2MJ9CGbcjumQEE55BJukBziI8JE7VLd8K4eD8teH4Su6JABlo1qpmZBSXdeRgNKrU1WLKJ3G4IrwIE_eNCM8u7cfayoWNZxxamrxB3rBgiRNTl_3jkxM7mNZGUcPcWKR0Bz9hG5JsWE_R5iRYZPNykI0VNiBJcoNqruqLm4OWvNerZFjCfdGR5FbyLRupKSsQ9MV_LYfa6-Fs0meyGzht_L2Rr5WhKRPHwurrqvKTZA_6m9l0wzWWBDuUXtWR8suXP6F-AgizHszuFBqplJO9GvXB17zmBG5TwGcjbKQl9tOsUQhy7Qv2f2JSsDGbAW-6JJm51mDSuFCqXNT3p4IB1p5qloksL7Ko2fDk0sPVXr00-toGSoYnhn39
        )

    [Timeout] => 300
    [dsn] => 
    [SMTPDebug] => 4
    [Debugoutput] => html
    [SMTPKeepAlive] => 
    [SingleTo] => 
    [SingleToArray:protected] => Array
        (
        )

    [do_verp] => 
    [AllowEmpty] => 
    [DKIM_selector] => 
    [DKIM_identity] => 
    [DKIM_passphrase] => 
    [DKIM_domain] => 
    [DKIM_copyHeaderFields] => 1
    [DKIM_extraHeaders] => Array
        (
        )

    [DKIM_private] => 
    [DKIM_private_string] => 
    [action_function] => 
    [XMailer] => 
    [smtp:protected] => 
    [to:protected] => Array
        (
            [0] => Array
                (
                    [0] => awais@enterpristore.com
                    [1] => John Doe
                )

        )

    [cc:protected] => Array
        (
        )

    [bcc:protected] => Array
        (
        )

    [ReplyTo:protected] => Array
        (
        )

    [all_recipients:protected] => Array
        (
            [awais@enterpristore.com] => 1
        )

    [RecipientsQueue:protected] => Array
        (
        )

    [ReplyToQueue:protected] => Array
        (
        )

    [attachment:protected] => Array
        (
        )

    [CustomHeader:protected] => Array
        (
        )

    [lastMessageID:protected] => 
    [message_type:protected] => 
    [boundary:protected] => Array
        (
        )

    [language:protected] => Array
        (
        )

    [error_count:protected] => 0
    [sign_cert_file:protected] => 
    [sign_key_file:protected] => 
    [sign_extracerts_file:protected] => 
    [sign_key_pass:protected] => 
    [exceptions:protected] => 
    [uniqueid:protected] => 
)
2025-11-02 15:48:36 Connection: opening to smtp.office365.com:587, timeout=300, options=array()
2025-11-02 15:48:36 Connection: opened
2025-11-02 15:48:36 SMTP INBOUND: "220 BL1P221CA0044.outlook.office365.com Microsoft ESMTP MAIL Service ready at Sun, 2 Nov 2025 15:48:42 +0000 [08DE19D751B3EE60]"
2025-11-02 15:48:36 SERVER -> CLIENT: 220 BL1P221CA0044.outlook.office365.com Microsoft ESMTP MAIL Service ready at Sun, 2 Nov 2025 15:48:42 +0000 [08DE19D751B3EE60]
2025-11-02 15:48:36 CLIENT -> SERVER: EHLO www.enterpristore.xyz
2025-11-02 15:48:36 SMTP INBOUND: "250-BL1P221CA0044.outlook.office365.com Hello [54.83.148.120]"
2025-11-02 15:48:36 SMTP INBOUND: "250-SIZE 157286400"
2025-11-02 15:48:36 SMTP INBOUND: "250-PIPELINING"
2025-11-02 15:48:36 SMTP INBOUND: "250-DSN"
2025-11-02 15:48:36 SMTP INBOUND: "250-ENHANCEDSTATUSCODES"
2025-11-02 15:48:36 SMTP INBOUND: "250-STARTTLS"
2025-11-02 15:48:36 SMTP INBOUND: "250-8BITMIME"
2025-11-02 15:48:36 SMTP INBOUND: "250-BINARYMIME"
2025-11-02 15:48:36 SMTP INBOUND: "250-CHUNKING"
2025-11-02 15:48:36 SMTP INBOUND: "250 SMTPUTF8"
2025-11-02 15:48:36 SERVER -> CLIENT: 250-BL1P221CA0044.outlook.office365.com Hello [54.83.148.120]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-STARTTLS250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8
2025-11-02 15:48:36 CLIENT -> SERVER: STARTTLS
2025-11-02 15:48:36 SMTP INBOUND: "220 2.0.0 SMTP server ready"
2025-11-02 15:48:36 SERVER -> CLIENT: 220 2.0.0 SMTP server ready
2025-11-02 15:48:36 CLIENT -> SERVER: EHLO www.enterpristore.xyz
2025-11-02 15:48:36 SMTP INBOUND: "250-BL1P221CA0044.outlook.office365.com Hello [54.83.148.120]"
2025-11-02 15:48:36 SMTP INBOUND: "250-SIZE 157286400"
2025-11-02 15:48:36 SMTP INBOUND: "250-PIPELINING"
2025-11-02 15:48:36 SMTP INBOUND: "250-DSN"
2025-11-02 15:48:36 SMTP INBOUND: "250-ENHANCEDSTATUSCODES"
2025-11-02 15:48:36 SMTP INBOUND: "250-AUTH LOGIN XOAUTH2"
2025-11-02 15:48:36 SMTP INBOUND: "250-8BITMIME"
2025-11-02 15:48:36 SMTP INBOUND: "250-BINARYMIME"
2025-11-02 15:48:36 SMTP INBOUND: "250-CHUNKING"
2025-11-02 15:48:36 SMTP INBOUND: "250 SMTPUTF8"
2025-11-02 15:48:36 SERVER -> CLIENT: 250-BL1P221CA0044.outlook.office365.com Hello [54.83.148.120]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-AUTH LOGIN XOAUTH2250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8
2025-11-02 15:48:36 Auth method requested: XOAUTH2
2025-11-02 15:48:36 Auth methods available on the server: LOGIN,XOAUTH2

Fatal error: Uncaught League\OAuth2\Client\Provider\Exception\IdentityProviderException: AADSTS7000215: Invalid client secret provided. Ensure the secret being sent in the request is the client secret value, not the client secret ID, for a secret added to app '75aea12d-3b1e-4c6a-b173-57a93e5c457e'. Trace ID: 780442df-a493-4658-b4ab-efa037842900 Correlation ID: deccb822-e56c-414a-91ef-3ede98a3a008 Timestamp: 2025-11-02 15:48:37Z in /var/www/vhosts/enterpristore.xyz/httpdocs/PHP_Mailer_6.9.1/vendor/greew/oauth2-azure-provider/src/Provider/Azure.php:89 Stack trace: #0 /var/www/vhosts/enterpristore.xyz/httpdocs/PHP_Mailer_6.9.1/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(726): Greew\OAuth2\Client\Provider\Azure->checkResponse() #1 /var/www/vhosts/enterpristore.xyz/httpdocs/PHP_Mailer_6.9.1/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(635): League\OAuth2\Client\Provider\AbstractProvider->getParsedResponse() #2 /var/www/vhosts/enterpristore.xyz/httpdocs/PHP_Mailer_6.9.1/vendor/phpmailer/phpmailer/src/OAuth.php(113): League\OAuth2\Client\Provider\AbstractProvider->getAccessToken() #3 /var/www/vhosts/enterpristore.xyz/httpdocs/PHP_Mailer_6.9.1/vendor/phpmailer/phpmailer/src/OAuth.php(128): PHPMailer\PHPMailer\OAuth->getToken() #4 /var/www/vhosts/enterpristore.xyz/httpdocs/PHP_Mailer_6.9.1/vendor/phpmailer/phpmailer/src/SMTP.php(618): PHPMailer\PHPMailer\OAuth->getOauth64() #5 /var/www/vhosts/enterpristore.xyz/httpdocs/PHP_Mailer_6.9.1/vendor/phpmailer/phpmailer/src/PHPMailer.php(2258): PHPMailer\PHPMailer\SMTP->authenticate() #6 /var/www/vhosts/enterpristore.xyz/httpdocs/PHP_Mailer_6.9.1/vendor/phpmailer/phpmailer/src/PHPMailer.php(2062): PHPMailer\PHPMailer\PHPMailer->smtpConnect() #7 /var/www/vhosts/enterpristore.xyz/httpdocs/PHP_Mailer_6.9.1/vendor/phpmailer/phpmailer/src/PHPMailer.php(1689): PHPMailer\PHPMailer\PHPMailer->smtpSend() #8 /var/www/vhosts/enterpristore.xyz/httpdocs/PHP_Mailer_6.9.1/vendor/phpmailer/phpmailer/src/PHPMailer.php(1523): PHPMailer\PHPMailer\PHPMailer->postSend() #9 /var/www/vhosts/enterpristore.xyz/httpdocs/1.php(136): PHPMailer\PHPMailer\PHPMailer->send() #10 {main} thrown in /var/www/vhosts/enterpristore.xyz/httpdocs/PHP_Mailer_6.9.1/vendor/greew/oauth2-azure-provider/src/Provider/Azure.php on line 89
2025-11-02 15:48:37 CLIENT -> SERVER: QUIT
2025-11-02 15:48:37 SMTP INBOUND: "221 2.0.0 Service closing transmission channel"
2025-11-02 15:48:37 SERVER -> CLIENT: 221 2.0.0 Service closing transmission channel
2025-11-02 15:48:37 Connection: closed