SmtpClient.Send Method

  • Thread starter Thread starter Abraham Andres Luna
  • Start date Start date
A

Abraham Andres Luna

does the SmtpClient.Send Method clear out the content of the attachments
when i call send?
 
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?
 
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
 
Back
Top