The Attachment class is used with the MailMessage class. All
messages include a Body, which contains the content of the message. In
addition to the body, you might want to send additional files. These are sent
as attachments and are represented as Attachment instances. To add an
attachment to a mail message, add it to the MailMessage.Attachments collection.
Attachment content can be a String, Stream, or file
name. You can specify the content in an attachment by using any of the Attachment
constructors.
Send email with attachment from a stream:
|
See Also:
|

4AspNet POP3 .NET Component
|