Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter speeddealer111

    (@speeddealer111)

    The code seems to be working now, it wasn’t recognizing the current user since I have it setup for customers right now and not everyone. It wouldn’t show for admins. After changing this setting the code above works great.

    Thread Starter speeddealer111

    (@speeddealer111)

    So in general how would I get the button to show up again? I’ve done a delete and reinstall, but it still isn’t showing on any products. Do I need to check somewhere else?

    Thread Starter speeddealer111

    (@speeddealer111)

    Hey Tri,

    It was a theme issue. Had to revert to the old version until the theme author came out with an updated version compatible with WC 2.1.

    After updating the theme, there were a few bugs but in the end that was the culprit.

    Thread Starter speeddealer111

    (@speeddealer111)

    OK..

    I managed to resolve this issue with a couple more hours research.

    Here is what I’ve found: MS 365 SMTP Settings

    For all of you that have an exchange server that handles mail like ms 365 you will enjoy this page. Although it wasn’t hard to find, I couldn’t understand why the emails were not working. Since we’ve always had email on our own server I never thought to connect to an outside server for mail. I decided on WP Mail SMTP

    My settings:

    <img src=”https://speeddealercustoms.com/wp-content/uploads/2014/07/wp-mail-smtp-settings.jpg&#8221; width=”650″ />

    I cut off the user and password, but you will need to plug those in the username for me is the same and my email, but it might be different for you.

    Hope this helps

    Thread Starter speeddealer111

    (@speeddealer111)

    No help for this?

    Thread Starter speeddealer111

    (@speeddealer111)

    So I just installed the plugin and used it to test:

    Test Message Sent
    The result was:
    bool(true)
    The full debugging output is shown below:
    object(PHPMailer)#1029 (69) {
      ["Version"]=>
      string(5) "5.2.7"
      ["Priority"]=>
      int(3)
      ["CharSet"]=>
      string(5) "UTF-8"
      ["ContentType"]=>
      string(10) "text/plain"
      ["Encoding"]=>
      string(4) "8bit"
      ["ErrorInfo"]=>
      string(0) ""
      ["From"]=>
      string(28) "[email protected]"
      ["FromName"]=>
      string(63) "Speed Dealer Customs | Custom Motorcyle Parts | Harley-Davidson"
      ["Sender"]=>
      string(0) ""
      ["ReturnPath"]=>
      string(0) ""
      ["Subject"]=>
      string(55) "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(425) "Date: Fri, 25 Jul 2014 21:31:47 +0000
    Return-Path: [email protected]>
    From: Speed Dealer Customs | Custom Motorcyle Parts | Harley-Davidson [email protected]>
    Message-ID: <[email protected]>
    X-Priority: 3
    X-Mailer: PHPMailer 5.2.7 (https://github.com/PHPMailer/PHPMailer/)
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    "
      ["mailHeader":protected]=>
      string(98) "To: [email protected]
    Subject: WP Mail SMTP: Test mail to [email protected]
    "
      ["WordWrap"]=>
      int(0)
      ["Mailer"]=>
      string(4) "mail"
      ["Sendmail"]=>
      string(18) "/usr/sbin/sendmail"
      ["UseSendmailOptions"]=>
      bool(true)
      ["PluginDir"]=>
      string(0) ""
      ["ConfirmReadingTo"]=>
      string(0) ""
      ["Hostname"]=>
      string(0) ""
      ["MessageID"]=>
      string(0) ""
      ["MessageDate"]=>
      string(0) ""
      ["Host"]=>
      string(9) "localhost"
      ["Port"]=>
      int(25)
      ["Helo"]=>
      string(0) ""
      ["SMTPSecure"]=>
      string(0) ""
      ["SMTPAuth"]=>
      bool(false)
      ["Username"]=>
      string(0) ""
      ["Password"]=>
      string(0) ""
      ["AuthType"]=>
      string(0) ""
      ["Realm"]=>
      string(0) ""
      ["Workstation"]=>
      string(0) ""
      ["Timeout"]=>
      int(10)
      ["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) ""
      ["action_function"]=>
      string(0) ""
      ["XMailer"]=>
      string(0) ""
      ["smtp":protected]=>
      NULL
      ["to":protected]=>
      array(1) {
        [0]=>
        array(2) {
          [0]=>
          string(28) "[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)
      }
      ["attachment":protected]=>
      array(0) {
      }
      ["CustomHeader":protected]=>
      array(0) {
      }
      ["lastMessageID":protected]=>
      string(57) "<[email protected]>"
      ["message_type":protected]=>
      string(5) "plain"
      ["boundary":protected]=>
      array(3) {
        [1]=>
        string(35) "b1_9ea88877edb004b8fb3729d4f5267ac5"
        [2]=>
        string(35) "b2_9ea88877edb004b8fb3729d4f5267ac5"
        [3]=>
        string(35) "b3_9ea88877edb004b8fb3729d4f5267ac5"
      }
      ["language":protected]=>
      array(0) {
      }
      ["error_count":protected]=>
      int(0)
      ["sign_cert_file":protected]=>
      string(0) ""
      ["sign_key_file":protected]=>
      string(0) ""
      ["sign_key_pass":protected]=>
      string(0) ""
      ["exceptions":protected]=>
      bool(true)
    }
    The SMTP debugging output is shown below:

    I set it up to use the php mail function. Looking at this test everything should be good, but the contact form still isn’t sending mail. I’m doubting this has fixed the password or new account emails.

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