Problem on sending message
Hi
I got problem with one of the examples on the "Beginning jsp web development".
On the book "Beginning JSP Web Development" published by wrox, chapter 17, page 526, "Sending a message".
I tried to run the example line by line and see exactly where it throws an exception finally discovered that it throws exception when it gets to the following line of code:
store.connect("pop.mail.yahoo.com", "hossaini03", "mypasword");
-----> hossaini03 is my yahoo email.
It throws exception and says: "javax.servlet.ServletException: Error logging in. Please visit http://mail.yahoo.com"
Could you please help me with this problem as I am really stuck with it.
Many thanks for your help.
|