I am creating a JAX-RS Web Service which can receive emails and forward the data to client. Currently I can work with simple emails. But I have no idea about how to implement this for emails with attachments. I know it should be done in 2 steps.
- My JAX-RS downloads the attachments from the mail server to my server.
- Send these files to the client.
Any suggestions implementing this.