Attachments from a mail in Exchage server

K

Kathir

Hi,
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 using my login id and
password of my inbox.

Thanks in advance,
Kathir
 
V

Vince Averello [MVP - Outlook]

They're stored with the message they're attached to. Do you have Outlook Web
Access installed & configured in your office so you can get to the mail item
from the web?
 
K

Kathir

Hi Vince,

Thanks for your valuable information. Actually 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 successfully 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.

Thanks in advance,
Kathir
 
K

Kathir

Hi Vince,

I've fetched only the body or content of the message and not the
attachments? and that's what I'm looking for!

How can I fetch the attachments?

Regards,
Kathir

Vince Averello said:
If you're saving them in a database can they be saved elsewhere?

Kathir said:
Hi Vince,

Thanks for your valuable information. Actually 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 successfully 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.
 
M

Mike Baker

Hi Kathir,

I'm just about to try this as well. Were you able to resolve your issue and
get attachements from exchange? Would you mind posting how you did it?

TIA
Mike

Kathir said:
Hi Vince,

I've fetched only the body or content of the message and not the
attachments? and that's what I'm looking for!

How can I fetch the attachments?

Regards,
Kathir

Vince Averello said:
If you're saving them in a database can they be saved elsewhere?

Kathir said:
Hi Vince,

Thanks for your valuable information. Actually 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 successfully 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.
 
Top