Hi I'm trying a windows service that fetches the contents of the mails from my inbox and saves them in a database using IMAP protocol. I've fetched the contents of the mail body using the IMAP command "1 UID FETCH 756 BODY[1]\r\n", where 756 is message UID.
How can I fetch the attachments so that i can save the attachments in a specific location and i can use them later.
I've tried a lot to find this but i couldn't get. Few articles gave me an idea to fetch the attachments as an encoded file(Encoded in Base64 format), which i couldn't use.
further,
How does the attachments getting stored in the exchange server. Does it have a URL to access.
If so, is there a way to find the URL of the attachment being stored in the exchange server? So that I can fetch or download them to save it.
Thanks in advance,
Kathir
How can I fetch the attachments so that i can save the attachments in a specific location and i can use them later.
I've tried a lot to find this but i couldn't get. Few articles gave me an idea to fetch the attachments as an encoded file(Encoded in Base64 format), which i couldn't use.
further,
How does the attachments getting stored in the exchange server. Does it have a URL to access.
If so, is there a way to find the URL of the attachment being stored in the exchange server? So that I can fetch or download them to save it.
Thanks in advance,
Kathir