purple code

Reading and Writing Files in Java

A common task in any programming language is Reading and Writing files. Below are a couple of functions that can be used for these purposes, along with descriptions of their use. Be sure to import for these functions to work.

Read More

code in dark text editor

Sending an email Programmatically using Java

This article will decribe how you can send emails programatically using hte Java programming language. The example below includes a function you can use for easily sending emails from your Java application.PrerequisitesIf you have not already, be sure you download and install the latest Java Development Kit (JDK). You can find the download here.Unforutnatley the javax.mail libraries are not included in the Java JDK, so you will have to download them separately.The java mail library can be downloaded Read more […]