File must be physically attached with email, I think this type of attachment
is NOT possible.

You can send email in HTML format and put img tag in there with src = that
particular image address. However due to security issues, the end user may
NOT able to see images unless he/she allows that.


On Fri, Dec 18, 2009 at 11:34 PM, Ana <[email protected]> wrote:

> 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