MailKit Documentation
MailKit Documentation
API Reference
MimeKit
AttachmentCollection Class
AttachmentCollection Methods
Add Method
Add(MimeEntity) Method
Add(String, Byte[]) Method
Add(String, CancellationToken) Method
Add(String, ContentType, CancellationToken) Method
Add(String, Byte[], ContentType) Method
Add(String, Stream, CancellationToken) Method
Add(String, Stream, ContentType, CancellationToken) Method
Attachment
Collection
Add(Mime
Entity) Method
Add an attachment.
Namespace:
MimeKit
Assembly:
MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
Copy
public
void
Add
(
MimeEntity
attachment
)
Parameters
attachment
MimeEntity
The attachment.
Implements
ICollection
T
Add(T)
Exceptions
Exception
Condition
ArgumentNullException
attachment
is
null
.
Remarks
Adds the specified
MimePart
as an attachment.
See Also
Reference
AttachmentCollection Class
Add Overload
MimeKit Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast