Now I can embed images using -
Dim box As New LinkedResource(HttpContext.Current.Server.MapPath( "~/Images/box.gif"), Net.Mime.MediaTypeNames.Image.Gif)and -
box.ContentId = "el_box"
htmlView.LinkedResources.Add(box)
<img src="cid:el_box" ></img>in the HTML. But what I would like to do is use an embedded image in the css i.e -
.bt {I can use the same method for attaching the image to the email as above but this will then only display in outlook and not hotmail or googlemail.
height:15px;
margin:0 -6px;
background:url(cid:el_box) 100% 0 no-repeat;
}
Anyone know how to embed an image for use with css inside an email?
I am using vb.net version 2.