Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • sorry
    here is the complete output:

    PHPMailer Object
    (
    [Version] => 5.2.22
    [Priority] =>
    [CharSet] => UTF-8
    [ContentType] => text/plain
    [Encoding] => 7bit
    [ErrorInfo] => SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
    [From] => basicspksales@gmail.com
    [FromName] => Basics Pk
    [Sender] =>
    [ReturnPath] =>
    [Subject] => WP Mail SMTP: Test mail to haris6007@gmail.com
    [Body] => This is a test email generated by the WP Mail SMTP WordPress plugin.
    [AltBody] =>
    [Ical] =>
    [MIMEBody:protected] => This is a test email generated by the WP Mail SMTP WordPress plugin.

    [MIMEHeader:protected] => Date: Fri, 8 Dec 2017 14:29:29 +0000
    To: haris6007@gmail.com
    From: Basics Pk
    Subject: WP Mail SMTP: Test mail to haris6007@gmail.com
    Message-ID: <0b8c16934055f30b99dd73e001f1df12@basics.pk>
    X-Mailer: PHPMailer 5.2.22 (https://github.com/PHPMailer/PHPMailer)
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8

    [mailHeader:protected] =>
    [WordWrap] => 0
    [Mailer] => smtp
    [Sendmail] => /usr/sbin/sendmail
    [UseSendmailOptions] => 1
    [PluginDir] =>
    [ConfirmReadingTo] =>
    [Hostname] =>
    [MessageID] =>
    [MessageDate] => Fri, 8 Dec 2017 14:29:29 +0000
    [Host] => smtp.gmail.com
    [Port] => 465
    [Helo] =>
    [SMTPSecure] => ssl
    [SMTPAutoTLS] =>
    [SMTPAuth] => 1
    [SMTPOptions] => Array
    (
    )

    [Username] => basicspksales@gmail.com
    [Password] =>
    [AuthType] =>
    [Realm] =>
    [Workstation] =>
    [Timeout] => 300
    [SMTPDebug] => 0
    [Debugoutput] => echo
    [SMTPKeepAlive] =>
    [SingleTo] =>
    [SingleToArray] => Array
    (
    )

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

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

    [do_debug] => 0
    [Debugoutput] => echo
    [do_verp] =>
    [Timeout] => 300
    [Timelimit] => 300
    [smtp_transaction_id_patterns:protected] => Array
    (
    [exim] => /[0-9]{3} OK id=(.*)/
    [sendmail] => /[0-9]{3} 2.0.0 (.*) Message/
    [postfix] => /[0-9]{3} 2.0.0 Ok: queued as (.*)/
    )

    [smtp_conn:protected] =>
    [error:protected] => Array
    (
    [error] =>
    [detail] =>
    [smtp_code] =>
    [smtp_code_ex] =>
    )

    [helo_rply:protected] =>
    [server_caps:protected] =>
    [last_reply:protected] =>
    )

    [to:protected] => Array
    (
    [0] => Array
    (
    [0] => haris6007@gmail.com
    [1] =>
    )

    )

    [cc:protected] => Array
    (
    )

    [bcc:protected] => Array
    (
    )

    [ReplyTo:protected] => Array
    (
    )

    [all_recipients:protected] => Array
    (
    [haris6007@gmail.com] => 1
    )

    [RecipientsQueue:protected] => Array
    (
    )

    [ReplyToQueue:protected] => Array
    (
    )

    [attachment:protected] => Array
    (
    )

    [CustomHeader:protected] => Array
    (
    )

    [lastMessageID:protected] => <0b8c16934055f30b99dd73e001f1df12@basics.pk>
    [message_type:protected] => plain
    [boundary:protected] => Array
    (
    [1] => b1_0b8c16934055f30b99dd73e001f1df12
    [2] => b2_0b8c16934055f30b99dd73e001f1df12
    [3] => b3_0b8c16934055f30b99dd73e001f1df12
    )

    [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:
    [extension_missing] => Extension missing:
    )

    [error_count:protected] => 2
    [sign_cert_file:protected] =>
    [sign_key_file:protected] =>
    [sign_extracerts_file:protected] =>
    [sign_key_pass:protected] =>
    [exceptions:protected] => 1
    [uniqueid:protected] => 0b8c16934055f30b99dd73e001f1df12

    Hi Slava,
    it Failed but with a different error:

    The result was:
    bool(false)
    The full debugging output is shown below:
    PHPMailer Object
    (
    [Version] => 5.2.22
    [Priority] =>
    [CharSet] => UTF-8
    [ContentType] => text/plain
    [Encoding] => 7bit
    [ErrorInfo] => SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
    [From] => basicspksales@gmail.com
    [FromName] => Basics Pk
    [Sender] =>
    [ReturnPath] =>
    [Subject] => WP Mail SMTP: Test mail to haris6007@gmail.com
    [Body] => This is a test email generated by the WP Mail SMTP WordPress plugin.
    [AltBody] =>
    [Ical] =>
    [MIMEBody:protected] => This is a test email generated by the WP Mail SMTP WordPress plugin.

    Hi,
    my issues is the same and errors are as attached below.

    I am using the latest wp-mail-smtp (0.11.2) on WP 4.9.1 version. I do have Child theme defined (eStore child theme) and I tried your code in functions.php file but then you said your code was incorrect. so I am not sure what else to do.

    (it was working before I configured child theme though)
    Please help. I think its a very small issue and I am missing something.

    CONFIGURATION is CORRECT – I have checked and double checked as below:
    SMTP Host : smtp.gmail.com
    SMTP Port : 587
    Encryption : TLS

    Test Message Sent
    The result was:
    bool(false)
    The full debugging output is shown below:
    PHPMailer Object
    (
    [Version] => 5.2.22
    [Priority] =>
    [CharSet] => UTF-8
    [ContentType] => text/plain
    [Encoding] => 7bit
    [ErrorInfo] => SMTP Error: Could not connect to SMTP host.
    [From] => basicspksales@gmail.com
    [FromName] => Basics Pk
    [Sender] =>
    [ReturnPath] =>
    [Subject] => WP Mail SMTP: Test mail to haris6007@gmail.com
    [Body] => This is a test email generated by the WP Mail SMTP WordPress plugin.
    [AltBody] =>
    [Ical] =>
    [MIMEBody:protected] => This is a test email generated by the WP Mail SMTP WordPress plugin.

    [MIMEHeader:protected] => Date: Fri, 8 Dec 2017 13:34:57 +0000
    To: haris6007@gmail.com
    From: Basics Pk
    Subject: WP Mail SMTP: Test mail to haris6007@gmail.com
    Message-ID:
    X-Mailer: PHPMailer 5.2.22 (https://github.com/PHPMailer/PHPMailer)
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8

    [mailHeader:protected] =>
    [WordWrap] => 0
    [Mailer] => smtp
    [Sendmail] => /usr/sbin/sendmail
    [UseSendmailOptions] => 1
    [PluginDir] =>
    [ConfirmReadingTo] =>
    [Hostname] =>
    [MessageID] =>
    [MessageDate] => Fri, 8 Dec 2017 13:34:57 +0000
    [Host] => smtp.gmail.com
    [Port] => 587
    [Helo] =>
    [SMTPSecure] => tls
    [SMTPAutoTLS] => 1
    [SMTPAuth] => 1
    [SMTPOptions] => Array
    (
    )

    [Username] => basicspksales@gmail.com
    [Password] => Sirha3144
    [AuthType] =>
    [Realm] =>
    [Workstation] =>
    [Timeout] => 300
    [SMTPDebug] => 0
    [Debugoutput] => echo
    [SMTPKeepAlive] =>
    [SingleTo] =>
    [SingleToArray] => Array
    (
    )

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

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

    [do_debug] => 0
    [Debugoutput] => echo
    [do_verp] =>
    [Timeout] => 300
    [Timelimit] => 300
    [smtp_transaction_id_patterns:protected] => Array
    (
    [exim] => /[0-9]{3} OK id=(.*)/
    [sendmail] => /[0-9]{3} 2.0.0 (.*) Message/
    [postfix] => /[0-9]{3} 2.0.0 Ok: queued as (.*)/
    )

    [smtp_conn:protected] =>
    [error:protected] => Array
    (
    [error] =>
    [detail] =>
    [smtp_code] =>
    [smtp_code_ex] =>
    )

    [helo_rply:protected] =>
    [server_caps:protected] =>
    [last_reply:protected] => MIA3�8�ך���Oj������j~���;?���h��ڃ�{n�nZX�q^F��GҐ�L8�F4�eu�����-��j@󝔏كz̏�����8N-��E��;���y&\�� �>j�D� ΄��XZw��?C���S��ޤ��2�$���
    s9l�:�(��%i硕Gb�
    ��k�3����DU�ڷ �e��&����VOU��8\��5*[�
    ��Z’�’��*�����%GZ����.�*b;(� ���52@�U�d<�Av:���9_���S+L���$.�G�
    u�*����Q忘�Ʌ�:��
    )

    [to:protected] => Array
    (
    [0] => Array
    (
    [0] => haris6007@gmail.com
    [1] =>
    )

    )

    [cc:protected] => Array
    (
    )

    [bcc:protected] => Array
    (
    )

    [ReplyTo:protected] => Array
    (
    )

    [all_recipients:protected] => Array
    (
    [haris6007@gmail.com] => 1
    )

    [RecipientsQueue:protected] => Array
    (
    )

    [ReplyToQueue:protected] => Array
    (
    )

    [attachment:protected] => Array
    (
    )

    [CustomHeader:protected] => Array
    (
    )

    [lastMessageID:protected] =>
    [message_type:protected] => plain
    [boundary:protected] => Array
    (
    [1] => b1_f5e1267e58813e28e4820ca3ca46effa
    [2] => b2_f5e1267e58813e28e4820ca3ca46effa
    [3] => b3_f5e1267e58813e28e4820ca3ca46effa
    )

    [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:
    [extension_missing] => Extension missing:
    )

    [error_count:protected] => 2
    [sign_cert_file:protected] =>
    [sign_key_file:protected] =>
    [sign_extracerts_file:protected] =>
    [sign_key_pass:protected] =>
    [exceptions:protected] => 1
    [uniqueid:protected] => f5e1267e58813e28e4820ca3ca46effa
    )
    The SMTP debugging output is shown below

    Thread Starter haris6007

    (@haris6007)

    hi Max,
    we at basics.pk do appreciate your efforts and never want to hurt your business or efforts in any ways.

    I have changed the ratings to 5.

    Thank you Alan for considering to fix the reset of folder tree – this would help A LOT. Appreciate your efforts for writing a very important plugin without which its nearly impossible to handle large Media files in WP.

    Thread Starter haris6007

    (@haris6007)

    one more thing. I used BITNAMI for my Word Press installation

Viewing 5 replies - 1 through 5 (of 5 total)