I want to embed a image from an url in c# mail, I tried using this code but it is not working
LinkedResource logoHeader = null; AlternateView av1 = AlternateVie
string image = "example.com/image.jpg"; var webClient = new WebClient(); byte[] imageBytes = webClient.DownloadData(image); MemoryStream ms = new MemoryStream(imageBytes); LinkedResource resource = new LinkedResource(ms, MediaTypeNames.Image.Jpeg);