SmtpClient.Send Method

  • Thread starter Abraham Andres Luna
  • Start date
A

Abraham Andres Luna

does the SmtpClient.Send Method clear out the content of the attachments
when i call send?
 
C

CT

I'm not usre what you mean by "clear out", but I'm guessing that you mean if
you can make multiple sends with the same attachement? How are you sending
the message, are you using the MailMessage class?
 
A

Abraham Andres Luna

i was using the binaryreader.readbytes method on the
attachment.contentstream
then i later tried to save the stream and ended up with empty files because
i was supposed to reset the position to 0 after using readbytes

thank you for you help though
 

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

Top