Sending Email using System.Web.Mail namespace

  • Thread starter Thread starter Ray5531
  • Start date Start date
R

Ray5531

I'm trying to attach a file into an email message and send through
System.Web.Mail,but apparently I have to write the attachment in the File
system first and then attach it.I'd like to use the stream in memory
insetad.Because I'm getting the file from a webservice and I'd like to send
it right away from the memory.Any idea?

Thanks
 
Hi,

unfortunately you'd need to write the file first as you said. Unless you
develop completely custom mail sending system (isn't worth of it,
considering what you are now doing and how easily it can be accomplished)
 
Thanks a lot
Teemu Keiski said:
Hi,

unfortunately you'd need to write the file first as you said. Unless you
develop completely custom mail sending system (isn't worth of it,
considering what you are now doing and how easily it can be accomplished)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top