How to download file from link in outlook

Dear. All

I want to download file from link in email body contents.
This link is file located in server.

You can see that like this

===========================
Hi, all

XXXX.ZIP < - it is link.

How can do this?

Please share me any idea.

Thanks.

Hi @sungbae.cho

Would accessing your mail body this way achieve your goal?
image

Thank you for your reply.

Can you give me more information?

Two ways to access the content of your email is:

  • mailMessageVar.Body -> if the body is simple text
  • mailMessageVar.Headers(“bodyHTML”) -> if the body is HTML

You should see if either prints out anything useful to the output panel, and then do some simple string manipulation (such as Regex) to extract what you need.

1 Like