Stream attachments from SQL database for Mail

How do I stream attachments that are currently stored in an SQL database? I am trying to create a Windows Service to send mail with attachments.

If it is too complex are there any alternatives?

[203 byte] By [techie3] at [2008-2-26]
# 1

I saw in a another forum, there is something called aspNetEmail using a 3rd party dll to stream attachments.

techie3 at 2007-9-9 > top of Msdn Tech,.NET Development,.NET Framework Networking and Communication...
# 2
Version 2.0 of the Framework has added SMTP support. You will want to look at the following classes:

System.Net.Mail.MailMessage
System.Net.Mail.Attachment
System.Net.Mail.SmtpClient

MikeFlasko at 2007-9-9 > top of Msdn Tech,.NET Development,.NET Framework Networking and Communication...

.NET Development

Site Classified