• Resolved obeahman007

    (@obeahman007)


    I am using WP 4.8.1.

    I am using the WP Mail SMTP

    I configured my email via CPanel.

    I created my first form which is working just great.email is being sent and received.

    I then created a second contact form and everything is working fine, confirmation message is send on contact page, however, email is not being sent.

    What am I doing wrong?

    • This topic was modified 7 years, 7 months ago by obeahman007.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi obeahman007,

    Sorry for the trouble with this!

    It sounds like you’re using an email through your server (rather than Gmail, Yahoo, etc). If this is correct, it seems most likely that you need to double check that your settings, under Settings > Email, are correct for that (here’s a screenshot of what I’m referring to).

    If you haven’t had a chance to do this already, you’d need to contact your hosting provider to find out what settings you’d need here since they’ll vary ( only covers settings for major email providers).

    Once you’ve had a chance to do this, be sure to run the test email for WP Mail SMTP — described in Step 5 of our tutorial.

    That way, you can share the debug log with us if there are still any issues.

    I hope this helps! Please let us know how this goes and if you have any questions ??

    Thread Starter obeahman007

    (@obeahman007)

    Thanks for your reply. It appears that did not understand my problem. I will try to explain.

    I made up two(2) contact forms, each form is different.

    The first contact form can be found at: https://izteremka.com/no-puppies-available-puppiesiz-teremka-kennel/. When completed by anyone this form works correctly using the server information that I configured from my host. This has been tested and the contact information is being received.

    The second contact form can be seen at: https://izteremka.com/contact-us/. This form is not working. I filled out the form submitted it and was never received.

    I am confused by your explanation. I would think that once you have configured the WP-Mail-SMTP plugin, it would work regardless of how many forms you make?

    If the first contact form works properly, then the second one should also work?

    Please clarify.

    Thanks in advance.

    • This reply was modified 7 years, 7 months ago by obeahman007.

    Hi obeahman007,

    You’re right — if WP Mail SMTP is set up and functioning correctly, this shouldn’t happen.

    The best place to start is by making sure that WP Mail is completely good to go — to do this, you’ll need to run a test email under Settings > Email, as described in Step 5 of this tutorial.

    Could you please give that a go and share the debug log here? In many cases, that provides all of the information we need to see what’s going on.

    Thanks! ??

    Thread Starter obeahman007

    (@obeahman007)

    The log information is below:

    Test Message Sent
    The result was:
    bool(true)
    The full debugging output is shown below:
    object(PHPMailer)#1863 (76) {
    [“Version”]=>
    string(6) “5.2.22”
    [“Priority”]=>
    NULL
    [“CharSet”]=>
    string(5) “UTF-8”
    [“ContentType”]=>
    string(10) “text/plain”
    [“Encoding”]=>
    string(4) “7bit”
    [“ErrorInfo”]=>
    string(0) “”
    [“From”]=>
    string(18) “[email protected]
    [“FromName”]=>
    string(31) “Lana Lochan – Iz Teremka Kennel”
    [“Sender”]=>
    string(0) “”
    [“ReturnPath”]=>
    string(0) “”
    [“Subject”]=>
    string(46) “WP Mail SMTP: Test mail to [email protected]
    [“Body”]=>
    string(68) “This is a test email generated by the WP Mail SMTP WordPress plugin.”
    [“AltBody”]=>
    string(0) “”
    [“Ical”]=>
    string(0) “”
    [“MIMEBody”:protected]=>
    string(69) “This is a test email generated by the WP Mail SMTP WordPress plugin.

    [“MIMEHeader”:protected]=>
    string(365) “Date: Thu, 24 Aug 2017 07:11:39 +0000
    To: [email protected]
    From: Lana Lochan – Iz Teremka Kennel
    Subject: WP Mail SMTP: Test mail to [email protected]
    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]=>
    string(0) “”
    [“WordWrap”]=>
    int(0)
    [“Mailer”]=>
    string(4) “smtp”
    [“Sendmail”]=>
    string(18) “/usr/sbin/sendmail”
    [“UseSendmailOptions”]=>
    bool(true)
    [“PluginDir”]=>
    string(0) “”
    [“ConfirmReadingTo”]=>
    string(0) “”
    [“Hostname”]=>
    string(0) “”
    [“MessageID”]=>
    string(0) “”
    [“MessageDate”]=>
    string(31) “Thu, 24 Aug 2017 07:11:39 +0000”
    [“Host”]=>
    string(13) “izteremka.com”
    [“Port”]=>
    string(3) “465”
    [“Helo”]=>
    string(0) “”
    [“SMTPSecure”]=>
    string(3) “ssl”
    [“SMTPAutoTLS”]=>
    bool(true)
    [“SMTPAuth”]=>
    bool(true)
    [“SMTPOptions”]=>
    array(0) {
    }
    [“Username”]=>
    string(18) “[email protected]
    [“Password”]=>
    string(12) “zfF,VO@F7FT#”
    [“AuthType”]=>
    string(0) “”
    [“Realm”]=>
    string(0) “”
    [“Workstation”]=>
    string(0) “”
    [“Timeout”]=>
    int(300)
    [“SMTPDebug”]=>
    bool(true)
    [“Debugoutput”]=>
    string(4) “echo”
    [“SMTPKeepAlive”]=>
    bool(false)
    [“SingleTo”]=>
    bool(false)
    [“SingleToArray”]=>
    array(0) {
    }
    [“do_verp”]=>
    bool(false)
    [“AllowEmpty”]=>
    bool(false)
    [“LE”]=>
    string(1) ”

    [“DKIM_selector”]=>
    string(0) “”
    [“DKIM_identity”]=>
    string(0) “”
    [“DKIM_passphrase”]=>
    string(0) “”
    [“DKIM_domain”]=>
    string(0) “”
    [“DKIM_private”]=>
    string(0) “”
    [“DKIM_private_string”]=>
    string(0) “”
    [“action_function”]=>
    string(0) “”
    [“XMailer”]=>
    string(0) “”
    [“smtp”:protected]=>
    object(SMTP)#1862 (14) {
    [“Version”]=>
    string(6) “5.2.22”
    [“SMTP_PORT”]=>
    int(25)
    [“CRLF”]=>
    string(2) ”

    [“do_debug”]=>
    bool(true)
    [“Debugoutput”]=>
    string(4) “echo”
    [“do_verp”]=>
    bool(false)
    [“Timeout”]=>
    int(300)
    [“Timelimit”]=>
    int(300)
    [“smtp_transaction_id_patterns”:protected]=>
    array(3) {
    [“exim”]=>
    string(21) “/[0-9]{3} OK id=(.*)/”
    [“sendmail”]=>
    string(29) “/[0-9]{3} 2.0.0 (.*) Message/”
    [“postfix”]=>
    string(35) “/[0-9]{3} 2.0.0 Ok: queued as (.*)/”
    }
    [“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(46) “221 res195.servconfig.com closing connection

    }
    [“to”:protected]=>
    array(1) {
    [0]=>
    array(2) {
    [0]=>
    string(19) “[email protected]
    [1]=>
    string(0) “”
    }
    }
    [“cc”:protected]=>
    array(0) {
    }
    [“bcc”:protected]=>
    array(0) {
    }
    [“ReplyTo”:protected]=>
    array(0) {
    }
    [“all_recipients”:protected]=>
    array(1) {
    [“[email protected]”]=>
    bool(true)
    }
    [“RecipientsQueue”:protected]=>
    array(0) {
    }
    [“ReplyToQueue”:protected]=>
    array(0) {
    }
    [“attachment”:protected]=>
    array(0) {
    }
    [“CustomHeader”:protected]=>
    array(0) {
    }
    [“lastMessageID”:protected]=>
    string(48) “”
    [“message_type”:protected]=>
    string(5) “plain”
    [“boundary”:protected]=>
    array(3) {
    [1]=>
    string(35) “b1_dfd7e510b3fba74612fcfc94936d23bb”
    [2]=>
    string(35) “b2_dfd7e510b3fba74612fcfc94936d23bb”
    [3]=>
    string(35) “b3_dfd7e510b3fba74612fcfc94936d23bb”
    }
    [“language”:protected]=>
    array(0) {
    }
    [“error_count”:protected]=>
    int(0)
    [“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(true)
    [“uniqueid”:protected]=>
    string(32) “dfd7e510b3fba74612fcfc94936d23bb”
    }
    The SMTP debugging output is shown below:
    2017-08-24 07:11:39 Connection: opening to ssl://izteremka.com:465, timeout=300, options=array (
    )
    2017-08-24 07:11:39 Connection: opened
    2017-08-24 07:11:39 SMTP -> get_lines(): $data is “”
    2017-08-24 07:11:39 SMTP -> get_lines(): $str is “220-res195.servconfig.com ESMTP Exim 4.87 #1 Thu, 24 Aug 2017 00:11:39 -0700

    2017-08-24 07:11:39 SMTP -> get_lines(): $data is “220-res195.servconfig.com ESMTP Exim 4.87 #1 Thu, 24 Aug 2017 00:11:39 -0700

    2017-08-24 07:11:39 SMTP -> get_lines(): $str is “220-We do not authorize the use of this system to transport unsolicited,

    2017-08-24 07:11:39 SMTP -> get_lines(): $data is “220-res195.servconfig.com ESMTP Exim 4.87 #1 Thu, 24 Aug 2017 00:11:39 -0700
    220-We do not authorize the use of this system to transport unsolicited,

    2017-08-24 07:11:39 SMTP -> get_lines(): $str is “220 and/or bulk e-mail.

    2017-08-24 07:11:39 SERVER -> CLIENT: 220-res195.servconfig.com ESMTP Exim 4.87 #1 Thu, 24 Aug 2017 00:11:39 -0700
    220-We do not authorize the use of this system to transport unsolicited,
    220 and/or bulk e-mail.
    2017-08-24 07:11:39 CLIENT -> SERVER: EHLO izteremka.com
    2017-08-24 07:11:39 SMTP -> get_lines(): $data is “”
    2017-08-24 07:11:39 SMTP -> get_lines(): $str is “250-res195.servconfig.com Hello izteremka.com [104.244.124.189]

    2017-08-24 07:11:39 SMTP -> get_lines(): $data is “250-res195.servconfig.com Hello izteremka.com [104.244.124.189]

    2017-08-24 07:11:39 SMTP -> get_lines(): $str is “250-SIZE 52428800

    2017-08-24 07:11:39 SMTP -> get_lines(): $data is “250-res195.servconfig.com Hello izteremka.com [104.244.124.189]
    250-SIZE 52428800

    2017-08-24 07:11:39 SMTP -> get_lines(): $str is “250-8BITMIME

    2017-08-24 07:11:39 SMTP -> get_lines(): $data is “250-res195.servconfig.com Hello izteremka.com [104.244.124.189]
    250-SIZE 52428800
    250-8BITMIME

    2017-08-24 07:11:39 SMTP -> get_lines(): $str is “250-PIPELINING

    2017-08-24 07:11:39 SMTP -> get_lines(): $data is “250-res195.servconfig.com Hello izteremka.com [104.244.124.189]
    250-SIZE 52428800
    250-8BITMIME
    250-PIPELINING

    2017-08-24 07:11:39 SMTP -> get_lines(): $str is “250-AUTH PLAIN LOGIN

    2017-08-24 07:11:39 SMTP -> get_lines(): $data is “250-res195.servconfig.com Hello izteremka.com [104.244.124.189]
    250-SIZE 52428800
    250-8BITMIME
    250-PIPELINING
    250-AUTH PLAIN LOGIN

    2017-08-24 07:11:39 SMTP -> get_lines(): $str is “250 HELP

    2017-08-24 07:11:39 SERVER -> CLIENT: 250-res195.servconfig.com Hello izteremka.com [104.244.124.189]
    250-SIZE 52428800
    250-8BITMIME
    250-PIPELINING
    250-AUTH PLAIN LOGIN
    250 HELP
    2017-08-24 07:11:39 Auth method requested: UNKNOWN
    2017-08-24 07:11:39 Auth methods available on the server: PLAIN,LOGIN
    2017-08-24 07:11:39 Auth method selected: LOGIN
    2017-08-24 07:11:39 CLIENT -> SERVER: AUTH LOGIN
    2017-08-24 07:11:39 SMTP -> get_lines(): $data is “”
    2017-08-24 07:11:39 SMTP -> get_lines(): $str is “334 VXNlcm5hbWU6

    2017-08-24 07:11:39 SERVER -> CLIENT: 334 VXNlcm5hbWU6
    2017-08-24 07:11:39 CLIENT -> SERVER: bGFuYUBpenRlcmVta2EuY29t
    2017-08-24 07:11:39 SMTP -> get_lines(): $data is “”
    2017-08-24 07:11:39 SMTP -> get_lines(): $str is “334 UGFzc3dvcmQ6

    2017-08-24 07:11:39 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
    2017-08-24 07:11:39 CLIENT -> SERVER: emZGLFZPQEY3RlQj
    2017-08-24 07:11:39 SMTP -> get_lines(): $data is “”
    2017-08-24 07:11:39 SMTP -> get_lines(): $str is “235 Authentication succeeded

    2017-08-24 07:11:39 SERVER -> CLIENT: 235 Authentication succeeded
    2017-08-24 07:11:39 CLIENT -> SERVER: MAIL FROM:
    2017-08-24 07:11:39 SMTP -> get_lines(): $data is “”
    2017-08-24 07:11:39 SMTP -> get_lines(): $str is “250 OK

    2017-08-24 07:11:39 SERVER -> CLIENT: 250 OK
    2017-08-24 07:11:39 CLIENT -> SERVER: RCPT TO:
    2017-08-24 07:11:39 SMTP -> get_lines(): $data is “”
    2017-08-24 07:11:39 SMTP -> get_lines(): $str is “250 Accepted

    2017-08-24 07:11:39 SERVER -> CLIENT: 250 Accepted
    2017-08-24 07:11:39 CLIENT -> SERVER: DATA
    2017-08-24 07:11:39 SMTP -> get_lines(): $data is “”
    2017-08-24 07:11:39 SMTP -> get_lines(): $str is “354 Enter message, ending with “.” on a line by itself

    2017-08-24 07:11:39 SERVER -> CLIENT: 354 Enter message, ending with “.” on a line by itself
    2017-08-24 07:11:39 CLIENT -> SERVER: Date: Thu, 24 Aug 2017 07:11:39 +0000
    2017-08-24 07:11:39 CLIENT -> SERVER: To: [email protected]
    2017-08-24 07:11:39 CLIENT -> SERVER: From: Lana Lochan – Iz Teremka Kennel
    2017-08-24 07:11:39 CLIENT -> SERVER: Subject: WP Mail SMTP: Test mail to [email protected]
    2017-08-24 07:11:39 CLIENT -> SERVER: Message-ID:
    2017-08-24 07:11:39 CLIENT -> SERVER: X-Mailer: PHPMailer 5.2.22 (https://github.com/PHPMailer/PHPMailer)
    2017-08-24 07:11:39 CLIENT -> SERVER: MIME-Version: 1.0
    2017-08-24 07:11:39 CLIENT -> SERVER: Content-Type: text/plain; charset=UTF-8
    2017-08-24 07:11:39 CLIENT -> SERVER:
    2017-08-24 07:11:39 CLIENT -> SERVER: This is a test email generated by the WP Mail SMTP WordPress plugin.
    2017-08-24 07:11:39 CLIENT -> SERVER:
    2017-08-24 07:11:39 CLIENT -> SERVER: .
    2017-08-24 07:11:52 SMTP -> get_lines(): $data is “”
    2017-08-24 07:11:52 SMTP -> get_lines(): $str is “250 OK id=1dkmIl-003ZvS-9F

    2017-08-24 07:11:52 SERVER -> CLIENT: 250 OK id=1dkmIl-003ZvS-9F
    2017-08-24 07:11:52 CLIENT -> SERVER: QUIT
    2017-08-24 07:11:52 SMTP -> get_lines(): $data is “”
    2017-08-24 07:11:52 SMTP -> get_lines(): $str is “221 res195.servconfig.com closing connection

    2017-08-24 07:11:52 SERVER -> CLIENT: 221 res195.servconfig.com closing connection
    2017-08-24 07:11:52 Connection: closed
    From Email
    You can specify the email address that emails should be sent from. If you leave this blank, the default email will be used.
    From Name
    You can specify the name that emails should be sent from. If you leave this blank, the emails will be sent from WordPress.

    Hi obeahman007,

    Thanks for sharing those logs! It looks like WP Mail SMTP is all set up and working properly, which is great, and lets me suggest a next step ??

    Ok so most often when we see WP Mail SMTP is working but emails still aren’t delivering, the issue lies in the notification settings. To check this, please open your form builder and go to Settings > Notifications.

    There, I’d ask that you please check the From Email. This is the most common issue — this email address must be the same one you used to set up the SMTP. This must be set to the SMTP email for every form on your site in order for the SMTP to work.

    I hope this does the trick! When you’ve had a chance to give this a shot and run another test submission, could you let us know if the email delivery starts working for you?

    Thanks! ??

    Thread Starter obeahman007

    (@obeahman007)

    Ok…thanks so much for your suggestion and advice. It worked. Now it means that all forms that is made, you have to correctly change the notification settings.

    Thanks very much for your help and patience throughout this process. It is very much appreciated.

    O

    Happy to help! Have a good one ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Second Contact Form Not Working’ is closed to new replies.