Sending Email using System.Web.Mail namespace

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
 
T

Teemu Keiski

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)
 
J

J-R

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

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top