How can I use JavaMail with a database?
John Zukowski There is nothing special about using the JavaMail API with a database. The database accessing is completely separate from the JavaMail code. Get the information from the database with JDBC. Create the message with JavaMail API. The two don't talk to each other.