Hi,

I need to send an email with attachment, but the attachment is in the
company website. What I'm doing is:

   thumbPath = "Folder/Image.jpg"
   thumbPath = "www.companywebsite.com/" & thumbPath
   Dim attachment As New MailAttachment(thumbPath)

However, the following error message is fired: Invalid mail attachment
'www.companywebsite.com/Folder/Image.jpg'

I typed the thumbPath in the browser and the Image is found in the
website. How to attach this image in my email?

Thanks in advance,

Ana

Reply via email to