ReferenceAttachment

ReferenceAttachment class

This class represents a reference attachment

The ReferenceAttachment type exposes the following members:

Constructors

NameDescription
ReferenceAttachment()Initializes a new instance of ReferenceAttachment.
ReferenceAttachment(uri)Initializes a new instance of the ReferenceAttachment class
ReferenceAttachment(uri)Initializes a new instance of the ReferenceAttachment class

Properties

NameDescription
content_stream
content_id
headers
content_type
transfer_encoding
is_tnefGets a value indicating whether the attachment is TNEF formatted message.
is_embedded_messageGets a value indicating whether the attachment is an embedded message.
nameGets or sets an attachment name
name_encodingGets or sets an encoding of attachment name
content_dispositionGets Content-Disposition header
is_uriGets a value indicating whether attachment is URI-attachment.
preferred_text_encodingGets or sets a preferred text encoding
uriSpecifies the Url of the provider endpoint.
permission_typeSpecifies the permission type.
provider_typeSpecifies the provider type.

Methods

NameDescription
save(stream)
save(file_name)
create_attachment_from_string(content, name)
create_attachment_from_string(content, name, content_encoding, media_type)
create_attachment_from_string(content, content_type)

See Also