How to Get the Attached Documents

How to Get the Attached Documents

 

  

Hi All,

I am writing scripts to retrieve returned emails in Exchange Mail Server. So far
I am able to use SQL xp_readmail to get the targeted mails. I can find out the
information on originator, date received, originator address...

I need help on how to retrieve attached files/document in the emails. But the
@attachments argument only gives me the address of the attachments on Exchange
Server. Please help!

Thanks in advance!


Feng Pang





*******************************************************************************
Important - This email and any attachments may be confidential. If received in
error, please contact us and delete all copies. Before opening or using
attachments check them for viruses and defects. Regardless of any loss, damage
or consequence, whether caused by the negligence of the sender or not, resulting
directly or indirectly from the use of any attached files our liability is
limited to resupplying any affected attachments. Any representations or opinions
expressed are those of the individual sender, and not necessarily those of the
Department of Education & Training.
MS Sql Server LazyDBA home page