Copied to clipboard

Flag this post as spam?

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


  • Chris Jones 4 posts 24 karma points
    Jan 09, 2013 @ 19:01
    Chris Jones
    0

    SSL POP3 Connections for Email Bounce Management

    I have a mailbox on Office 365 that uses SSL on port 995. Can't get it to connect to the mailbox.  Comes back with the following....

    Any way this can work or does the pop3 support not work with SSL connections?

    Could not connect. Error message: Object reference not set to an instance of an object.

     

  • Markus Johansson 1902 posts 5706 karma points MVP c-trib
    Jan 13, 2013 @ 13:51
    Markus Johansson
    0

    Hi Chris!

    We have not tested this against Office365 but I think it should work. Can you see anything in the Umbraco log? I'll have to put this as a bug in the backlog and try to reproduce it.

  • Chris Jones 4 posts 24 karma points
    Jan 15, 2013 @ 15:15
    Chris Jones
    0

    Here is what is in the umbracoLog

    At /umbraco/newsletterstudio/pages/HandleBounces.aspx (Referred by: ): System.NullReferenceException: Object reference not set to an instance of an object.     at NewsletterStudio.Services.Mail.Pop3BounceMailConnector.Loggon()     at NewsletterStudio.Services.Mail.Pop3BounceMailConnector.PullList()     at NewsletterStudio.Services.Mail.Pop3BounceMailConnector.StartProcessBounces()     at NewsletterStudio.Pages.HandleBounces.StartHandleBounces(ContextFacade container)     at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    Not sure what all that means.

  • Markus Johansson 1902 posts 5706 karma points MVP c-trib
    Jan 15, 2013 @ 17:29
    Markus Johansson
    0

    Hi!


    Thank you for providing the code. Looks like there is something with the POP3-connection that fails. As I look in the code it seams that the connection can be establied with another port than the standard-port but there is no support for SSL at the moment.

    Would it be possible to run with without SSL?

  • Chris Jones 4 posts 24 karma points
    Jan 15, 2013 @ 17:55
    Chris Jones
    0

    Yes, I agree it is an SSL connection issue.  

    I can not connect to their service without SSL so I just ended up installing stunnel on the server and that is able to re-direct my POP3 calls to SSL correctly.  

    I'll update this if it does not work fully, but I have been able to get a test connection to work.  Maybe in the next release we can have a use SSL just like in the SMTP section and this will not be necessary. 

    Thanks

    CJ

  • Markus Johansson 1902 posts 5706 karma points MVP c-trib
    Jan 15, 2013 @ 18:20
    Markus Johansson
    0

    Hi again!

    I see, smart solution! Thanks for sharing it!

    The SMTP-part of the package is standard .NET-classes but (as far I a know) there are no APIs for talking to POP3-server so we ended up writing our own solution which obviously lacks support for SSL. I'm not sure which effort it will take to include this but I will honest and tell you that there are a lot of other features and bugs that have higher priority.

    If you find any soltuion that you think we might include in the package - please let me know!

  • Kristoffer Eriksen 185 posts 465 karma points
    Oct 23, 2015 @ 11:46
    Kristoffer Eriksen
    0

    I know this is an old post, but has it been made possible since ?

    I have a similar problem at the moment.

  • Kristoffer Eriksen 185 posts 465 karma points
    Oct 23, 2015 @ 12:17
    Kristoffer Eriksen
    0

    I was able to make it work with stunnel.

    So this must be THE solution to make it work with 365.

Please Sign in or register to post replies

Write your reply to:

Draft