Save MailMessage to file?

noccy

Newcomer
Joined
Jan 17, 2005
Messages
13
Hi!

I am trying to find a way to save a MailMessage sa a .msg file. I create the message like this:

Code:
Dim msg as new System.Net.Mail.MailMessage
Dim att As New system.Net.Mail.Attachment("c:\test.txt")

msg.Attachments.Add(att)

Does anyone kow if it is possible to save the MailMessage object as a .msg file?



noccy
 
Back
Top