2019-05-19 11:37:31 Connection: opening 2019-05-19 11:37:39 SMTP ERROR: Failed to connect to server: Network is unreachable (101) SMTP connect() failed.

Mail SMTP

SMTP connect() failed.
openssl Available
Array
(
    [0] => PHPMailer Object
        (
            [Version] => 5.2.7
            [Priority] => 3
            [CharSet] => iso-8859-1
            [ContentType] => multipart/alternative
            [Encoding] => 8bit
            [ErrorInfo] => SMTP connect() failed.
            [From] => prathmesh.patil18195@hotmail.com
            [FromName] => Prathmesh Patil
            [Sender] => prathmesh.patil18195@hotmail.com
            [ReturnPath] => 
            [Subject] =>  Sample email
            [Body] => Test SMTP
            [AltBody] => Test SMTP
            [Ical] => 
            [MIMEBody:protected] => --b1_12e38c5376bb97514f2f7b10de249630
Content-Type: text/plain; charset=us-ascii

Test SMTP


--b1_12e38c5376bb97514f2f7b10de249630
Content-Type: text/html; charset=us-ascii

Test SMTP



--b1_12e38c5376bb97514f2f7b10de249630--

            [MIMEHeader:protected] => Date: Sun, 19 May 2019 04:37:31 -0700
Return-Path: 
To: prathmesh@techspawn.com
From: Prathmesh Patil 
Subject: Sample email
Message-ID: <12e38c5376bb97514f2f7b10de249630@productdevs.techspawnmobiles.com>
X-Priority: 3
X-Mailer: PHPMailer 5.2.7 (https://github.com/PHPMailer/PHPMailer/)
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="b1_12e38c5376bb97514f2f7b10de249630"
Content-Transfer-Encoding: 8bit


            [mailHeader:protected] => 
            [WordWrap] => 0
            [Mailer] => smtp
            [Sendmail] => /usr/sbin/sendmail
            [UseSendmailOptions] => 1
            [PluginDir] => 
            [ConfirmReadingTo] => 
            [Hostname] => 
            [MessageID] => 
            [MessageDate] => 
            [Host] => smtp-mail.outlook.com
            [Port] => 587
            [Helo] => 
            [SMTPSecure] => tls
            [SMTPAuth] => 1
            [Username] => prathmesh.patil18195@hotmail.com
            [Password] => 1234455
            [AuthType] => 
            [Realm] => 
            [Workstation] => 
            [Timeout] => 20
            [SMTPDebug] => 1
            [Debugoutput] => echo
            [SMTPKeepAlive] => 
            [SingleTo] => 
            [SingleToArray] => Array
                (
                )

            [do_verp] => 
            [AllowEmpty] => 
            [LE] => 

            [DKIM_selector] => 
            [DKIM_identity] => 
            [DKIM_passphrase] => 
            [DKIM_domain] => 
            [DKIM_private] => 
            [action_function] => 
            [XMailer] => 
            [smtp:protected] => SMTP Object
                (
                    [Version] => 5.2.7
                    [SMTP_PORT] => 25
                    [CRLF] => 

                    [do_debug] => 1
                    [Debugoutput] => echo
                    [do_verp] => 
                    [Timeout] => 20
                    [Timelimit] => 30
                    [smtp_conn:protected] => 
                    [error:protected] => 
                    [helo_rply:protected] => 
                    [last_reply:protected] => 
                )

            [to:protected] => Array
                (
                    [0] => Array
                        (
                            [0] => prathmesh@techspawn.com
                            [1] => 
                        )

                )

            [cc:protected] => Array
                (
                )

            [bcc:protected] => Array
                (
                )

            [ReplyTo:protected] => Array
                (
                )

            [all_recipients:protected] => Array
                (
                    [prathmesh@techspawn.com] => 1
                )

            [attachment:protected] => Array
                (
                )

            [CustomHeader:protected] => Array
                (
                )

            [lastMessageID:protected] => <12e38c5376bb97514f2f7b10de249630@productdevs.techspawnmobiles.com>
            [message_type:protected] => alt
            [boundary:protected] => Array
                (
                    [1] => b1_12e38c5376bb97514f2f7b10de249630
                    [2] => b2_12e38c5376bb97514f2f7b10de249630
                    [3] => b3_12e38c5376bb97514f2f7b10de249630
                )

            [language:protected] => Array
                (
                    [authenticate] => SMTP Error: Could not authenticate.
                    [connect_host] => SMTP Error: Could not connect to SMTP host.
                    [data_not_accepted] => SMTP Error: data not accepted.
                    [empty_message] => Message body empty
                    [encoding] => Unknown encoding: 
                    [execute] => Could not execute: 
                    [file_access] => Could not access file: 
                    [file_open] => File Error: Could not open file: 
                    [from_failed] => The following From address failed: 
                    [instantiate] => Could not instantiate mail function.
                    [invalid_address] => Invalid address
                    [mailer_not_supported] =>  mailer is not supported.
                    [provide_address] => You must provide at least one recipient email address.
                    [recipients_failed] => SMTP Error: The following recipients failed: 
                    [signing] => Signing Error: 
                    [smtp_connect_failed] => SMTP connect() failed.
                    [smtp_error] => SMTP server error: 
                    [variable_set] => Cannot set or reset variable: 
                )

            [error_count:protected] => 2
            [sign_cert_file:protected] => 
            [sign_key_file:protected] => 
            [sign_key_pass:protected] => 
            [exceptions:protected] => 1
        )

)
1