Hi Ricci,
First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to embed an image into you
HTML format mail. If there is any misunderstanding, please feel free to let
me know.
As far as I know, there isn't a managed class that can let us achieve this
in current version of .NET framework. We have two choices.
1. Use a third-party .net component. The
www.aspNetEmail.com component has
the EmailMessage.EmbedImage() method to do this for you.
2. Use CDO interop. COM components offer more features than the built-in
System.Web.Mail. If you use CDOEX (CDO for Exchange 2000)/CDOSYS (CDO for
Windows 2000/.NET) you can use the CreateHTMLBody method of the CDO.Message
object which will and the whole HTML page and automatically embed the
images.
HTH.
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."