Copied to clipboard

Flag this post as spam?

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


  • Chris Davis 56 posts 74 karma points
    Nov 18, 2011 @ 01:28
    Chris Davis
    0

    Notifications don't send emails using Microsoft 365

    Umbraco 4.7.1
    Email host: Microsoft Exchange 365

    When I setup notifications in umbraco the emails are not being sent. My email host uses SSL. Any thoughts to why this would not work?

    Thanks.

  • Adi 17 posts 36 karma points
    Nov 18, 2011 @ 17:56
    Adi
    0

    Hi Chris

    check your smtp settings for me the below code works fine

    <system.net>
            <mailSettings>
                <smtp from="[email protected]">
                    <network host="a.b.c.d" userName="user..." password="password.." />
                </smtp>
            </mailSettings>
        </system.net>

     

  • Chris Davis 56 posts 74 karma points
    Nov 18, 2011 @ 18:04
    Chris Davis
    0

    Adi,

    My mail setting are fine. I'm using Contour and other custom controls that send emails and they all work great.

    Any other thoughts?

    Thanks.

  • Fernando Camillo 41 posts 82 karma points
    Nov 18, 2011 @ 19:23
    Fernando Camillo
    0

    Hi Chris.

    Is your "config/umbracoSettings.Config" file with your sending address?

    <notifications>
        <email>
    [email protected]</email>
    </notifications>

  • Chris Davis 56 posts 74 karma points
    Nov 18, 2011 @ 19:48
    Chris Davis
    0

    Fernando,

    Yes, I already have my email address specified there.

  • Peter Josefson 15 posts 37 karma points
    Nov 20, 2011 @ 19:16
    Peter Josefson
    0

    Amazing that nobody sees "SSL" being mentioned in your post... :)

    Probable solution: Add enableSsl="true" to your "network" config element. Like so:

    <network host="myhost.mydomain.com" enableSsl="true" userName="me" password="myPassword" />

    There is also a "port" attribute you can add if the server doesn't use the standard TCP port (often happens on cloud servers).

    Further reading:

    http://msdn.microsoft.com/en-us/library/ms164242.aspx

  • Chris Davis 56 posts 74 karma points
    Nov 20, 2011 @ 20:35
    Chris Davis
    0

    Peter,

    You are right, I just tried that and it worked.

    Thanks!

Please Sign in or register to post replies

Write your reply to:

Draft