试试这个:
LinkedResource objLinkedRes = new LinkedResource( Server.MapPath(".") + "\\fuzzydev-logo.jpg", "image/jpeg"); objLinkedRes.ContentId = "fuzzydev-logo"; AlternateView objHTLMAltView = AlternateView.CreateAlternateViewFromString( "", new System.Net.Mime.ContentType("text/html")); objHTLMAltView.LinkedResources.Add(objLinkedRes); objMailMessage.AlternateViews.Add(objHTLMAltView);