Solved

java mail error

Posted on 2004-09-08
4
840 Views
Last Modified: 2013-12-10
in wls, i set the mail session properties to : mail.host=hotmail.com
when my applicaiton send out , it give the following error message. ps, i use outlook express,
and my mail host should be hotmail.com.


javax.mail.SendFailedException: Sending failed; nested exception is: javax.mail.MessagingException: Could not connect to SMTP host: hotmail.com, port: 25; nested exception is: java.net.NoRouteToHostException: Operation timed out: no further information
0
Comment
Question by:she1
  • 2
  • 2
4 Comments
 
LVL 11

Accepted Solution

by:
sompol_kiatkamolchai earned 50 total points
ID: 12006242
mail.host must be SMTP mail server which use for relay mail to recepient.
you can not use hotmail.com as SMTP since it is not SMTP.
generally, SMTP is a server that is in your private network.
please ask your network administrator for ip address or host name for SMTP.
or if you use modem to dial to ISP, you should contact your ISP for SMTP address.
0
 
LVL 11

Expert Comment

by:sompol_kiatkamolchai
ID: 12006250
Have you ever use outlook to send mail? If you use, you can look it in mail configuration in the E-mail Account menu.

Hope this help.
0
 
LVL 4

Expert Comment

by:illusionz70
ID: 12013811
you dont seem to have smtp server as it is pointed out above.
you need a smtp server to send mails
0
 
LVL 4

Expert Comment

by:illusionz70
ID: 12013929
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now