Hi there
Wonder if you can help me?
I'm using C#, and want to send an email out to users using SMTP, the data will come from SQL, and images will be uploaded to a SQL table. When the email is sent to the users it must contain the data from SQL table, but also, it must display the image in the email (as I said, the image is held in a SQL table - image field in SQL)
The problem I'm having is on this line in my SMTP code
LinkedResource logo = new LinkedResource(<ERROR>);
"URI formats are not supported."
How do I display an image, thats stored in a SQL image field. Please note, I cant upload the file to the server.
Thanks
Mousemat24
ASKER
Ok, so if I have an image on my c:\ i.e.
c:\logo.jpg
What would my code be to get it streamed across?
Thanks