I have a struts-action, and when that action is called i would like to create and return a simple eml or msg file that can be opened in outlook.
This is can do just fine with a basic email-message. I just saved an email as eml from outlook and studied its content. Then created a string in my action and returned it as a stream with the correct content-type and extension.
But when i would like to add an attachement to the message i guess i would need some help. Is there any free api's out there that can help me construct a well-formed eml/msg file with an attachment?