We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8168
    • 1,118 Posts
    Hi guys, really hope someone can help here as this has 100% stumped me!

    I have a live client site which has an enquiry form which uses eForm to send the details of the enquiry to a recipient email address. This email address uses the same domain name as that which the site is hosted on e.g. contact form here - http://www.thesite.com and email address is [email protected]

    Thing is... eForm never sends the email to the designated email address... If we change it to send emails to any other email address it works just fine...

    The email hosting for the client is not the same as the web hosting - could this be an issue???

    Has anyone seen this happen before? Is this a website issue or an email issue? I am lost!


    Please, please, please help!

    Cheers,



    dubbs
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Have you tried converting the eForm mail code to use SMTP instead of isMail? That usually solves any mailing problems. I always do that on my local installations since it doesn’t have a mail server; using my regular mail host’s SMTP server works fine.

      http://modxcms.com/forums/index.php?topic=32969.0

      You also might want to check your spam logs; sometimes really strict spam settings will cause a problem if the mail being sent doesn’t have all the header fields the spam trap is configured to require.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 3749
        • 24,544 Posts
        Is there anything odd about the username part of the address? Some mail servers will reject certain legal email addresses containing non-alphanumeric characters.
          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting
          • 8168
          • 1,118 Posts
          Thanks Susan - will have a look into that

          Bobray - no, the email address is just [email protected] - so nothing wrong there....
            • 36702
            • 76 Posts
            Although your email is hosted on a different server, it may be that the server is trying to deliver it locally. I’ve had a similar problem - something to do with localdomains vs remotedomains in *nix setup? (hopefully someone knows what I’m on about and can explain it better)
              • 8168
              • 1,118 Posts
              Anyone having this issue what you need to do is ensure that the email company allow sending of mails from outside of their own restricted IPs group - to make SMTP work on eForm you need an SMTP provider who allows this otherwise this will not work at all!

              Thanks Sotwell for the guidance here - you are a true MODx leg-end!



              dubbs