Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jon Russell 7 posts 27 karma points
    Nov 08, 2011 @ 21:12
    Jon Russell
    0

    Email configuration for open relay...

    Hi. I am getting a problem which I know is a configuration problem. I have a 'Send Email' workflow which works fine locally, where I have my email configured to use gmail as shown:

        <mailSettings>
          <smtp from="website@<mydomain>.com">
            <network host="smtp.gmail.com" userName="me@<mydomain>.com" password="<mypassword>" port="587" />
          </smtp>
        </mailSettings>

    However, when I try to run on the hosted server, which apparently should use an open relay available on the same network, and DOE NOT REQUIRE AUTHENTICATION I use the following details which do not work:

        <mailSettings>
          <smtp from="website@<mydomain>.com">
            <network host="mail.<mydomain>.com" userName="" password="" />
          </smtp>
        </mailSettings>

    There is a single error in umbracoLog, stating, helpfully, "Object reference not set to an instance of an object."

    I can't check the SMTP logs from the server because I don't have access to it. I also can't try to telnet to that SMTP server because I am using a plesk control panel and can't access it from outside the network.

    Any ideas? How should I configure mailSettings correctly if my SMTP server DOES NOT require authentication?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Nov 08, 2011 @ 21:17
    Jan Skovgaard
    0

    Hi Jon

    Are you positive that the "Object reference not set to an isntance of an object" error you see in the log is related to the SMTP settings?

    Maybe it's something else failing, which could be the cause of no e-mail getting send?

    /Jan

  • Jon Russell 7 posts 27 karma points
    Nov 08, 2011 @ 21:21
    Jon Russell
    0

    Hej Jan -

    No I'm not sure, but the databases are synced, as are the files. The only difference between the environments is location and web.config files. Contour is saving the entry okay, just not sending the email. This says to me everything else is okay... and it's the mail settings which is the problem.

     

Please Sign in or register to post replies

Write your reply to:

Draft