use yahoo mail with java mail api??


I am trying to sent mail with java mail, but with no success..

Is it possible for someone to use a regular mail (like yahoo,gmail,hotmail..) to sent mail using the java mail api?

The code I use (which i found on the internet) must be right,
but something is wrong with the host I use..

for yahoo I use "" and my regular
username and password.

Thanks in advance!


  • A minute ago I've posted a new message regarding your problem; 2 months ago my code worked with Free SMTP server( which comes first when you type free smtp server at google). Now it doesn't and I can't understand why
  • I think that we should use our own SMTP server on our PC to send mail using the mail api.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion