4 Replies Latest reply on Oct 26, 2015 9:30 AM by Peter Krutý

    SMTP - Office 365 Outgoing Mail Issue

    kdchetan

      Hi,

       

      Facing some issue while configuring snmtp offce 365

      please find the attachment and configuration, if some one have solution for this issue pls revert..

       

      An error last occurred at 10/21/15 5:02 am while attempting to retrieve e-mail


       

      Unknown host: outlook.office365.com

      javax.mail.MessagingException: outlook.office365.com;
        nested exception is:@
      java.net.UnknownHostException: outlook.office365.com
      at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:670)
      at javax.mail.Service.connect(Service.java:295)
      at com.macsdesign.whd.util.EmailUtils$1.executeUntilTimeout(EmailUtils.java:282)
      at com.macsdesign.util.ThreadTimer$TimeableThread.run(ThreadTimer.java:138)
      Caused by: java.net.UnknownHostException: outlook.office365.com
      at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
      at java.net.PlainSocketImpl.connect(Unknown Source)
      at java.net.SocksSocketImpl.connect(Unknown Source)
      at java.net.Socket.connect(Unknown Source)
      at java.net.Socket.connect(Unknown Source)
      at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:321)
      at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:237)
      at com.sun.mail.iap.Protocol.<init>(Protocol.java:116)
      at com.sun.mail.imap.protocol.IMAPProtocol.<init>(IMAPProtocol.java:115)
      at com...