Create a Stream of MailMessage

asim123_pk

New member
Joined
Dec 2, 2004
Messages
2
Hi !
I have used System.Web.Mail class to create MailMessage
I do not want to send the email i want to save the email as a file or output it to the screen ?

How can i do that ?

Thanks
 
Open a file using FileStream, create a StreamWriter, and write to the file. Or just create a streamwriter and write to the screen.
 
Back
Top