java - javax.mail.MessagingException: Could not connect to SMTP host: smtp.live.com, port: 587 -


i've implemented code sends e-mails using outlook server (worked fine locally).

what's cause of following exception on production environment , how resolve it?

javax.mail.messagingexception: not connect smtp host: smtp.live.com, port: 587; nested exception is: java.net.connectexception: connection timed out


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -