Dave,
In Visual Studio 2005 you just have to add two lines to the normal email
code snippet (assuming you already have the file as a System.IO.Stream):
Dim message As New MailMessage("sender@address", "from@address", "Subject",
"Message Text")
Dim ItemAttached As New System.Net.Mail.Attachment(contentStream As
System.IO.Stream, Name)
message.Attachments.Add(ItemAttached)
Dim emailClient As New SmtpClient("Email Server Name")
emailClient.Send(message)
Regards,
--
S. Justin Gengo
Web Developer / Programmer
Free code library:
http://www.aboutfortunate.com
"Out of chaos comes order."
Nietzsche