Using LinkedResource Class for Sending HTML E-mail in .NET 2.0
page 1 of 7
Published: 10 Oct 2007
In this article Soyuj examines the usage of LinkedResource class for sending embedded image mail in .NET in a step-by-step way.
by Soyuj Kumar Sahoo
Average Rating: 
Views (Total / Last 10 Days): 69194/ 213


This is the answer to one of the comments on my previous article by someone who was unable to use these codes to send images in Outlook and Hotmail. I guess the MIME source of that send mail is ok, but might be the problem in Mail clients for fetching information from the MIME source.

So I tried another approach for sending html mail with embedded image in .NET 2.0 applications.    

View Entire Article

User Comments

Title: hi   
Name: jagadeesh
Date: 9/26/2012 3:56:19 AM
Title: Nice Article   
Name: Sankara Narayanan
Date: 1/3/2011 7:01:55 AM
Thank you very much, i tried its working fine. i have one doubt how can i set background image? i tried as you mention, but i cant. please help me.

Thanks & Regards
Sankara Naryananan
Title: Thank you from Mexico   
Name: Marcelino Ramirez Maldonado
Date: 5/7/2010 9:29:02 PM
Thank you. Together with your another article and this one, they are the best mail sending articles i have seen in my life!!

¡Muchas gracias!
Title: hi   
Name: Sumit Kalra
Date: 4/18/2010 3:03:57 AM
Though this code image not display at IE8
Title: can you provide an example embedding into word (not mail)   
Name: Chuck Farah
Date: 1/6/2009 3:24:11 PM
I am trying to provide an embedd type of feature only in a word doc downloaded to their pc. i have tried this by using the src property for the image.

i use response.Write(strBody)
Title: Will not send AlternateView through server   
Name: Nick
Date: 1/25/2008 7:26:57 AM

This is a great article, very well explained. There's is a problem I have with the AlternateView though.

I have had the code working great locally with some nice results, however when I transfer the files onto a server the AlternativeView seems to stop the mail from sending. I have commented this out and a plain mail message sends fine on the server. So i know everything works except for when I try and use the AlternateView.

Have you ever come across this proble?

Title: Great   
Name: Esteban
Date: 11/8/2007 3:37:53 PM
Great article, very usefull how to add the image, thanx once again!!!

Product Spotlight
Product Spotlight 

Community Advice: ASP | SQL | XML | Regular Expressions | Windows

©Copyright 1998-2015  |  Page Processed at 11/26/2015 5:33:25 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search