HTML Email not picking up graphics

Discussion in 'Email' started by redbud, Sep 20, 2013.

  1. I am sending HTML email through smtp on my discountasp account. Everything works fine locally, but when I send through smtp.myaccount.com the images are not picked up.
    The HTML:
    <img src="\Graphics\Photo1.jpg" alt="Photo 1" height="232" width="300">
    Looking at the data in Filezilla shows this to be the location. Is the SMTP looking at the file system from a different perspective?

    Any help is appreciated.
    Rick
     
  2. RayH

    RayH DiscountASP.NET Lackey DiscountASP.NET Staff

    That would look for the file on your local computer. To reference the image file that you uploaded to your DiscountASP.NET hosting account, you need to use a HTTP link like:

    <img src ="http://mysite.com/graphics/photo1.jpg" />
     
    mjp likes this.

Share This Page