• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sending mail thru JAVA

 
Gurvinder Singh
Greenhorn
Posts: 27
  • 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
Posts: 42967
73
  • 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
  • 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
Posts: 42967
73
  • 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
  • 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