Trying to send HTML email but coming through as text email
posted 6 years ago
I am trying to send html emails from my application running on a geronimo server on windows and using eclipse for development.
When I run this code on the J2EE preview server it works but when i run it on Geronimo is doesnt.
Here is the code that sends the email where i have added comments shows other code i have tried.
Beneath the code the email that comes through to outlook 2000
Session session = Session.getDefaultInstance(props, null);
Message msg = new MimeMessage(session);