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:
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:
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?
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.
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?
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
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.
is working on a reply...