Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    WP Divi theme + email form

    Discuss
    5
    10
    329
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • robi
      robi last edited by

      Hi All,

      Does anyone have experience with the Divi theme on Wordpress?

      While the WP install sends email just fine, the form doesn't seem to. I checked most of the usual suspects around WP and the SMTP plugin Cloudron needs, and there's no issue there.

      Something with Divi and how it does email that doesn't seem to go through to WP. Their docs all focus on things like mailchimp and sendgrid which we don't use here.

      Grateful for any clues that get mail flowing from the front page. 🙏

      Life of Advanced Technology

      scooke 1 Reply Last reply Reply Quote 0
      • scooke
        scooke @robi last edited by

        @robi I always forget to set the SMTP host as "mail" rather than "localhost" when using Cloudron's built-in smtp server... is the Form possibly not that, or resets it to "localhost"?

        A life lived in fear is a life half-lived

        robi 1 Reply Last reply Reply Quote 0
        • robi
          robi @scooke last edited by

          @scooke If I could find where to set that I could tell you..

          the logs seem to show the wrong email address construction which Cloudron rejects.

          Life of Advanced Technology

          girish 1 Reply Last reply Reply Quote 0
          • girish
            girish Staff @robi last edited by

            @robi You can quickly check if Disabling mail from validation makes it work - https://docs.cloudron.io/email/#disable-from-address-validation . WP plugins (especially some of these contact form plugins) tend to hardcode the email address to no-reply@ or contact@

            robi 1 Reply Last reply Reply Quote 0
            • robi
              robi @girish last edited by robi

              @girish definitely not something I want to do as it shows me what it's doing in the mail logs. It's not pretty.

              Whatever one sets in the Divi form to send mail TO, ends up in the log as mail@<that TO email as a subdomain>:

              Connection from 172.18.18.220 denied. Authenticated user silenthealing.app@toldyouso.com cannot send mail as mail@silenthealing.toldyouso.com
              

              So far it seems like an issue with Divi, and a potential workaround is to use another plugin that integrates with it for the contact form that actually respects the WP SMTP settings, such as gravity forms.

              @girish It would be helpful if the SMTP Mailer plugin had an option to force a From address, like some other SMTP plugins do.

              Life of Advanced Technology

              micmc 1 Reply Last reply Reply Quote 1
              • micmc
                micmc @robi last edited by micmc

                @robi I'm not too sure of how you are trying to send emails with DIVI, so I'm going guess that you are referring to the EMAIL OPTIN module of the DIVI theme builder.

                This actually is the biggest weak of this theme, they do not support the use of standard HTML form within their module, they've only added API connections to a bunch of online services and that's it. Same thing for their plugins btw.

                Been trying several times all over the years, to convince and explain them to implement this, just like Thrive Theme does for example, which also can connect with Mautic. Otherwise, for devs and owners of inhouse email servers this module is just useless, and I know for a fact as I've been developing with WP since 2007 and also been using DIVI since its beginnings.

                Maybe you could shout to them too lol 😉


                https://marketingtechnology.agency
                For cutting edge web technologies

                robi 1 Reply Last reply Reply Quote 1
                • robi
                  robi @micmc last edited by

                  @micmc Thank you for this confirmation, it's very surprising this oversight is there. 🙏

                  I don't have an account with them to even open a support request. I tried. My client doesn't care, just wants email form to work.

                  Sounds like I should recommend Thrive Themes to them.

                  Life of Advanced Technology

                  ruihildt 1 Reply Last reply Reply Quote 0
                  • ruihildt
                    ruihildt @robi last edited by ruihildt

                    I think a friend of mine used a third party email form plugin to have email working with Divi on cloudron.

                    robi micmc 2 Replies Last reply Reply Quote 1
                    • robi
                      robi @ruihildt last edited by

                      @ruihildt Right, in this case gravity forms did the trick.

                      Life of Advanced Technology

                      1 Reply Last reply Reply Quote 0
                      • micmc
                        micmc @ruihildt last edited by

                        @ruihildt said in WP Divi theme + email form:

                        I think a friend of mine used a third party email form plugin to have email working with Divi on cloudron.

                        @robi Indeed, if it's for a simple online form any good form builder plugin will do it. 🙂


                        https://marketingtechnology.agency
                        For cutting edge web technologies

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post
                        Powered by NodeBB