WP Divi theme + email form
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.
scooke 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"?
@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.
@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
robi 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 email@example.com cannot send mail as firstname.lastname@example.org
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.
micmc 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
@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.
ruihildt 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.
@ruihildt Right, in this case gravity forms did the trick.
micmc last edited by