Email working but not sending from wordpress

  • Unknown's avatar

    I am not getting emails from WordPress. I have changed the admin email to the email address I would like to receive emails at.

    I have tried to use Contact form 7, WP Forms, Ninja Forms. All are configured correctly.

    Contact form 7 i get a red submission error that something is wrong.

    WP Forms and ninja forms allowed me to submit my inquiry on my website successfully.

    I have different forms live on the website right now to see which would work.

    The MX record was updated over 30 hours ago and works fine with all emails outside of WordPress. All DNS records are okay.

    I have reached out to the email hosting provider (3rd party -> MacHighway) and everything looks fine on their end so they say.

    I heard some issue my be because of php mail function turned not being turned on or some server issue.

    Everything looks fine on my end. At a loss at this point and any advice help would be very helpful.

    WP.com: Yes
    Jetpack: Yes
    Correct account: Yes

    The blog I need help with is: (visible only to logged in users)

  • Hey there,

    Many thanks for reaching out – we can definitely help with this.

    I am not getting emails from WordPress. I have changed the admin email to the email address I would like to receive emails at.

    I have tried to use Contact form 7, WP Forms, Ninja Forms. All are configured correctly.

    Can you tell me the email address of any test emails sent via these forms and we can take look at the sites email logs for you.

    Only WordPress.com staff would be able to see the email addresses in this thread.

    Also, are you able to tell me when this started happening please?

    Many thanks in advance!

  • Unknown's avatar

    Yes, thank you for your response @aleone89!!! I have been at this for days haha.

    All the forms are supposed to be sending emails to (email visible only to moderators and staff).

    The email I have used to submit these forms are my personal ones: (email visible only to moderators and staff), (email visible only to moderators and staff), (email visible only to moderators and staff).

    I have tried to send (email visible only to moderators and staff) emails from all 3 of these are that skincraft inbox is able to see them so that isn’t an issue. It seems to be within WP itself.

    So I launched the website about a week ago and updated DNS servers within DNS after I changed the nameservers to WP’s with the hosting provider. The MX record I updated in DNS settings within WordPress Monday morning (9.18, 9ish EST). All looks well according to intoDNS (https://intodns.com/skincraft.us). I allowed time for propagation and the email works fine outside of WordPress but whenever I use any form submissions within WP no emails are sent. Form responses are blank within WP.

    FYI, I do have an open ticket with the hosting provider to look at php email settings or something else but haven’t heard back and not sure if it is even them considering all the intoDNS checks out.

    Thank you so much for your help!!

    Jack

  • Unknown's avatar

    Also, @aleone89 I had to remove the contact forms from the website so customers are not trying to submit. Instead, I published a hidden page that has both forms I am using where they should, upon submission, be sending emails to (email visible only to moderators and staff).

    https://skincraft.us/public-but-hidden-page/

    Interestingly, the Forminator form plugin says it has allowed 5 submissions (all from me).

    Thank you again so much for your help!

  • Hey there,

    Many thanks for that information!

    To check is the email address: (email visible only to moderators and staff) working ok as an email inbox? The reason why I ask is because, it looks like these entries have bounced, which has resulted in a temporary block?

    I notice the domain is being connected to WordPress also – so it’s possible that this may have bounced during that DNS change.

    Many thanks in advance.

  • Unknown's avatar

    Hi @aleone89! Yes, the email address is working fine as an email box in general. I have sent several emails directly to that address from the ones below and they are receieved.

    The email that should be receiving emails from any contact forms, regardless of plugin, should be (email visible only to moderators and staff).

    I am not sure who or what would be blocking them or how to unblock them even if it was just temporary?

    Any advice on what to do next? thank you!

  • Hey there,

    Many thanks for that confirmation there.

    It looks like there’s a block on the email system of the site, which expires on 2023-09-22. This is most likely caused by the bounce backs mentioned before.

    For the time being, I’d recommend changing the email addressed used for these forms, so that you’re able to receive those entries.

    I’d also recommend installing this plugin here: https://wordpress.org/plugins/wp-mail-logging/ so that you could monitor outgoing emails, and confirm there’s no bounces.

    I’ve also added at TXT record to the domain for good measure to limit this happening again. This can be seen here: https://wordpress.com/domains/manage/skincraft.us/dns/skincraft.us

    I know that’s probably not ideal currently, but I’m hoping this helps to provide a resolve.

    Looking forward to hearing from you!

  • Unknown's avatar

    Hi @aleone89! Thank you for your continued help with this issue. Hopefully, this will help others in the future as well. I am learning a lot myself. I will install the plugin.

    I went ahead and just put an email and phone number for now (that’s how they used to have it) while we sort this out.

    My email hosting company got back to me and told me to add 3 TXT fields with corresponding values for SPF, DKIM, and a mail channel record (I thought I did that already with the MX record. I screenshotted what you said and sent it back to them along with a couple other questions. I am awaiting their response.

    I’ll see what they say and, hopefully, adding these new DNS records and the email block expiring that will solve that problem.

    I’ll report back probably in a day or so. Thank you!

  • Hi there, I can see in your our logs that you have added several records recently so it is possible you missed these in the process. Since we are not familiar with your provider, we don’t have insight on what you need to add, but if you can share the 3 TXT records you have been given we’re happy to see if we can add them on your behalf.

    Thanks for the additional info!

  • Unknown's avatar

    Hi @staff-totoro! The email and hosting company is Machighway. I tried to add them but I am not sure I did it correctly so they might have a TXT that is incorrect that may need to be deleted or updated. One of them, the DKIM, exceeded the character limit so I asked for a shorter one. If possible add the DKIM on your end that would be fantastic. Here is what they gave me:

    I checked your domain and could see that it has 2 SPF records, Please see below.

    skincraft.us.           3600    IN      TXT     “v=spf1 ip4:199.204.248.119 +a +mx +include:relay.mailchannels.net -all”

    skincraft.us.           3600    IN      TXT     “v=spf1 include:b.atomicsites.net ~all”

    As you are using our server as the email server, the only required SPF is the first one and as the domain does not have a DKIM record please add the following records as well.

    SPF (TXT)

    Name : skincraft.us.

    Value: v=spf1 ip4:199.204.248.119 +a +mx +include:relay.mailchannels.net -all

    DKIM (TXT)

    Name : default._domainkey.skincraft.us.

    Value: v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1TWre1gxwvjFrK141l3jBni1TQhemYut8RQMvnsjZCXohFMgqO0ymXMFVHzPPDXgmrbhXouiuKnqymkdrwfinMP0tvlN0FB1bLDjHDxjUHG6YiWxMd2Ku5c+uxnd0sPzmvr26ZfvOQJr6NsArl2+eo+B+b5VGoyQ48ad1XH5NUIOAW/mdRDmVtovdoPkosfREYSTwweosljGbsTzNmAyIQpF0uHlkD4diWuyw6pKTqjHiGy77+Zniyjri0IKrW44Y+Vt7yP+5e3TDvQxq015TqGrxuF8a4B/jwbXSUvBol5Sw+jCM7ZCol26mbPu1lgtgu/fSkYjaBHasV271hfhoQIDAQAB;

    Mailchannel Record (TXT)

    Name : _mailchannels.skincraft.us

    Value: v=mc1 auth=techassets

    Please contact your nameserver end and ask them to add the above-mentioned TXT records.

    We tried accessing the contact form and did not see any form at https://skincraft.us/contact/, please check if adding the records solves the contact form issue as well. Otherwise please provide us the steps to access the contact form and submit a form to further check the issue.

    Once it is working/updated I am testing the forms here: https://skincraft.us/public-but-hidden-page/

    Thank you!!!

  • Hi again,

    One of them, the DKIM, exceeded the character limit so I asked for a shorter one.

    Have they been able to give you a shorter alternate DKIM record? We do have a character limit for TXT records but your provider should be able to work around that so a shorter code should do the trick here: https://wordpress.com/support/domains/custom-dns/#txt-record-character-limit

    Out of curiosity is your domain registered directly with Machighway as well? Or do you have that with a separate provider? If they are not able to provide a DKIM file that is under our 255 character limit for TXT records, let us know and we can discuss alternate ways of connecting.

    Thanks!

  • Unknown's avatar

    Hi @staff-totoro Thank you for your continued help. Yes, they gave me a DKIM record that was shorter and an updated mailchannel record. I just updated it a fewmoments ago.

    My domain, email, and hosting are all through them.

    I believe I have successfully added the SPF (TXT), updated the MailChannel Record, and added a shorter DKIM record. It was mentioned earlier in this thread there was a temporary block that is supposed to expire on 9.22.23 (sometime today). Do you know who put that block on the email account?

    Hopefully, these updates finally resolve this issue! Is there anything else we need to do on the WordPress end or anything I need to get from the email provider? I am responding to them as well updating them on this progress essentially asking the same thing.

    Thank you so much for your help!

  • It looks like that has an updated date on it now, but if the records are in place we can have that checked.

    Could you share a link to the form on your site?

  • Actually @meatorman if you’d like to go ahead and test now, I think we might be good to go. Please check and let us know.

  • Unknown's avatar

    The form was submitted successfully for the first time since launch @supernoviahttps //skincraft.us/public-but-hidden-page/.

    I sent a confirmation to the client and will know soon.

    Progress! I will update you as soon as I know. Thank you for your help!

  • Unknown's avatar

    Hi @supernovia it looks like it is working for some of the forms. Here is where I am testing: https://skincraft.us/public-but-hidden-page/

    So not sure whats going on. Better than where we were!

    The forms that don’t work are India, Josh, and Tattoo Specifics page. not sure why because those forms, except for India’s, are going to the same email (email visible only to moderators and staff).

    Email logs I installed showed success for some but there is a new email someone added (email visible only to moderators and staff). Not sure who added that.

  • Hey there,

    It looks like we’re making progress – the India form looks to be going to a gmail account, are you able to confirm if this was received?

    If not, this could point to how contact form 7 is configured for those forms, although I’ve taken a look and can’t see anything glaringly wrong.

    Looking at the form configuration would be the next place to start looking, as we’re now able to send emails via the site, through a handful of forms.

    I hope this helps with next steps.

  • Unknown's avatar

    @aleone89 it has not been resolved. I will look at contact form 7 but I literally duplicated the form where it works on some pages but not on others. I tested them and half of the forms worked.

    I just put a contact form on the home page. The contact form works on the contact page but the exact same contact form (settings are the same) does not work on the home page. https://skincraft.us/skincraft-piercing-and-tattoo/
    I will leave it live for now.

    My customer is beyond frustrated with the move away from Squarespace to WP and questioning me at this is over a week old since launch so trying to get this resolved…sigh.

    yes, India is supposed to go to Gmail.

  • Unknown's avatar

    @aleone89 now the email is being flagged as spam according to the orange error of contact form 7. The submission was working on the contact page but now all emails are being marked as spam. any thoughts? this has been rough,.

  • Unknown's avatar

    So emails are passing okay. However, it is Gmail that sometimes has issues with contact form 7. Some days it will go through and other days the form will not work. The Gmail the does go through the form will end up in the spam folder of the info@ email address. From my research, it seems as though there seems to be an issue with Akismet flagging it as spam. However, I do not have permission to view. Other articles suggest I need to enact a captcha so it is not flagged as spam. What do you think @staff-totoro @supernovia @aleone89

  • The topic ‘Email working but not sending from wordpress’ is closed to new replies.