sending mail with attacment

  • Thread starter Thread starter Cantekin Guneser
  • Start date Start date
C

Cantekin Guneser

i am writing wep app. and i send mail from one page , i need to ad attacment
to mail whic is at client, i am doing as folloving
copying file to server
adding attacment to mail
sending mail
then deleting file

is there sorter way to do this like adding attachment without coppiying
server side
thanks in advance
 
Hi,

Nop, you need to have the file on the server. what maybe you can do is save
it to memory, using a MemoryStream, this will avoid writing the file but you
have to be careful of memory comsuption.

Cheers,
 

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