
## ReferenceAttachment class

This class represents a reference attachment

The ReferenceAttachment type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
|ReferenceAttachment()|Initializes a new instance of [ReferenceAttachment](/email/python-net/aspose.email/referenceattachment/).|
|ReferenceAttachment(uri)|Initializes a new instance of the ReferenceAttachment class|
|ReferenceAttachment(uri)|Initializes a new instance of the ReferenceAttachment class|
## Properties
| Name | Description |
| :- | :- |
|content_stream|  |
|content_id|  |
|headers|  |
|content_type|  |
|transfer_encoding|  |
|is_tnef|Gets a value indicating whether the attachment is TNEF formatted message.|
|is_embedded_message|Gets a value indicating whether the attachment is an embedded message.|
|name|Gets or sets an attachment name|
|name_encoding|Gets or sets an encoding of attachment name|
|content_disposition|Gets Content-Disposition header|
|is_uri|Gets a value indicating whether attachment is URI-attachment.|
|preferred_text_encoding|Gets or sets a preferred text encoding|
|uri|Specifies the Url of the provider endpoint.|
|permission_type|Specifies the permission type.|
|provider_type|Specifies the provider type.|
## Methods
| Name | Description |
| :- | :- |
|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

* namespace [aspose.email](/email/python-net/aspose.email/)
* assembly [Aspose.Email](/email/python-net/)

