Order does not send email

Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #16425
    ron38
    Participant

      Messages:
      Apologies. There was an error receiving your order. Please try again.

      wp_mail: Could not instantiate mail function.

      I installed Wordfence for security: I am able to send an email from there, which should mean my server is OK and email works with my site.
      I then disabled all plugins but wppizza.
      Error still occurs.
      Changed various email addresses on Order settings with no joy.
      I have a guru who took me thru these steps and he concludes the problem must relate to wppizza.
      Maybe I have settings wrong? Tried everything I can think of.
      Ron

      #16426
      Olly
      Admin & Mod

        first question :
        when you said “I then disabled all plugins but wppizza.” did you also disable wordfence i.e disabled literally ALL other plugins ?

        #16427
        ron38
        Participant

          Yes: disabled wordfence and Ingredients add-on also.

          #16428
          Olly
          Admin & Mod

            also, did you set an appropriate “from” email address ?
            does that error say just “Could not instantiate mail function” or is there more info after that ?

            “Could not instantiate mail function” could have many many reasons.

            although from a different plugin, perhaps the following checklist is worth reading through too
            https://support.mailpoet.com/knowledgebase/could-not-instantiate-mail-function/

            (or here of course
            https://www.google.co.uk/?gws_rd=ssl#q=wordpress+could+not+instantiate+mail+function )

            being able to send a test mail from wordfence doesnyt really mean anything

            #16429
            Olly
            Admin & Mod

              you could also – temporarily perhaps – set the mail delivery to “HTML” as that *might* give you more info on what the problem is

              #16430
              ron38
              Participant

                No joy…but message changed
                “phpmailer: Could not instantiate mail function.”

                #16431
                Olly
                Admin & Mod
                  #16432
                  ron38
                  Participant

                    When set to HTML I did get the following message:
                    A message that you sent was rejected by the local scanning code that checks incoming messages on this system. The following error was given:

                    This message was classified as SPAM and may not be delivered. For more information, please see http://www.inmotionhosting.com/support/edu/everything-email/550-spam-message

                    —— This is a copy of your message, including all the headers. ——

                    Received: from graces11 by ecbiz193.inmotionhosting.com with local (Exim 4.86_1)
                    (envelope-from <[email protected]>)
                    id 1acvMg-003wLv-2I; Mon, 07 Mar 2016 08:38:26 -0500
                    To: [email protected]
                    Subject: [Grace’s Grantham Cafe] – Ronald Carr: your order March 7, 2016 8:38 am
                    X-PHP-Script: gracesnh.com/wp-admin/admin-ajax.php for 75.67.80.53
                    Date: Mon, 7 Mar 2016 13:38:26 +0000
                    From: Grace’s Grantham Cafe <[email protected]>
                    Cc: rcarr38 <[email protected]>
                    Reply-To: rcarr38 <[email protected]>
                    Message-ID: <[email protected]>
                    X-Mailer: PHPMailer 5.2.14 (https://github.com/PHPMailer/PHPMailer)
                    MIME-Version: 1.0
                    Content-Type: multipart/alternative;
                    boundary=”b1_407e9811c7e6b4b651ba6e7b07357d77″
                    Content-Transfer-Encoding: 8bit

                    This is a multi-part message in MIME format.

                    –b1_407e9811c7e6b4b651ba6e7b07357d77
                    Content-Type: text/plain; charset=us-ascii
                    This was followed by the Order form, so it did get sent.
                    There is more to the message, including HTML…do you want the whole thinmg? I have it as .pdf

                    #16433
                    Olly
                    Admin & Mod

                      >do you want the whole thinmg?
                      no

                      all the info you need is in that message you’ve received.
                      “For more information, please see….”

                      #16434
                      ron38
                      Participant

                        I just turned debug on and ran test.
                        Error log is empty: where is debug data?

                        #16435
                        Olly
                        Admin & Mod

                          >where is debug data
                          if there are no errors , there is no debug data…

                          #16436
                          Olly
                          Admin & Mod

                            and as the message gets send, there are no errors. what your email server/host considers spam is something you have to take up with them

                            #16437
                            ron38
                            Participant

                              I looked at the Spam notice: nothing seems to fit.
                              Sent message to Inmotion support.

                              #16454
                              helen
                              Participant

                                I got same errors since update to the newest version…

                                #16456
                                Olly
                                Admin & Mod

                                  @helen
                                  then you already have your (possible) answers above

                                  #16457
                                  ron38
                                  Participant

                                    I sent my message to my host’s support, and they whitelisted my domain on the outbound spam filter. I never did figure out why the email was treated as spam.
                                    Works now.
                                    Ron

                                    #16458
                                    Olly
                                    Admin & Mod

                                      sounds like the domain was blocked / blacklisted though, not the email as such

                                    Viewing 17 posts - 1 through 17 (of 17 total)
                                    • The topic ‘Order does not send email’ is closed to new replies.