Let’s say you are creating an HTTP request using Java. You are probably doing it with the use of the URL object like this: But sometimes you will also want to use…
Tag: JEE
Receive POP3 Emails using Java
Take a look at this example on how to read pop3 emails. But there are 3 parameters you need to prepare: your pop3 server, username and passowrd for that server. Pretty straight…
Send a simple SMTP email message with java
The next code will show you the simplest way to send an email in java. The only thing you need is an email address and the smtp host address of your email…
Download files with Java
Simple java code to download files from the net.