Java meets e-mail

by Benoît Marchal

JavaMail 1.1 offers a clean, object-oriented API to messaging systems for apps that need the benefits of e-mail support. Here's how to get it working for you right now.

In December 1997, I wrote an article called How to send an e-mail from Java. Sun had just announced the JavaMail API, but it was not publicly available, so I had to "roll my own" code. Let me offer a much-needed update.

Many applicatio

Listing 4 is the

method. It suppress CR char This article was originally published on Tuesday Nov 24th 1998
Mobile Site | Full Site