Hi, I'm trying to pull mail from a POP3 server and save the entire mail file to disk.
So far I have a POP3 endpoint which is correctly going to get the mail via POP3 and then a File endpoint which is saving the file. Only the body of the e-mail is saved off to disk and there are no headers.
How can I save off the entire e-mail message to disk instead of just the body?
Thanks
The file component only saves the body to the file - that is by design.
If you want to save headers as well you need to do a message transformation where you add the headers to the message body how you want it, before saving to the file.