A while back I found myself with a need to send email through Java. I can’t remember the reason why I didn’t use JavaMail (this was 2002-2003 so it may have been before it was released/stable) but I ended up implementing my own version of RFC-2045. After a long time of coding and testing I emerged with a working mailer, which I am going to share with the world now.
I don’t see any reason why you would choose to use this over the JavaMail package or something similar – I am not endorsing it for use but simply for nostalgia and learning purposes.
If you are interested in downloading the entire source, you can do so here: mcdonaldland-mailer.zip