Hello Again, Just one last question I promise. I want to forward the content of MimeMessage unchanged. I am having trouble with a compile error that states a thrown type needs to be declared.
Is there a quick and easy way of simply forwarding a message content? Code: MimeMessage original_msg = mail.getMessage(); Object original_content = original_msg.getContent(); This is the error that i get: unreported exception javax.mail.MessagingException; must be caught or declared to be thrown