This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills: The software developer's life manual and have John Sonmez on-line!
See this thread for details.
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sending mail thru JAVA

 
Gurvinder Singh
Greenhorn
Posts: 27
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i want to test email functionality in my application through java code. i usually test it through my company's smtp server when i m in office.
But i m not able to test it at home.
So is there any free smtp server available to test email things which does not require basic authentication.

Thanks
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think there are any publicly accessible mail servers left that don't require authentication these days. But it's quite easy to run a mail server on your own machine, e.g. Apache James (which is even written in Java, so you could embed it in your application).
 
Vinoth Thirunavukarasu
Ranch Hand
Posts: 164
Android Java Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friend,
I think this link will help you Just copy the example and run it in your browser.

This link for accessing Gmail account.web page
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This link for accessing Gmail account.web page

GMail requires authentication, so this doesn't really address the question.
 
Vinoth Thirunavukarasu
Ranch Hand
Posts: 164
Android Java Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In similar way you can try the bellow code.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic