and here is another one:
jGuru: Fundamentals of the JavaMail API @ sun.com[
^] (yes, sun.com still exists!)
It's a well written tutorial guiding you through the process.
If you want some SMTP-Server - try
hMailServer[
^]. It's freeware and pretty simple. Be aware of the Ban-Option for false logins - best to switch it off for development.