VertexDeclaration{/i:
Približni podaci
MapiAttachment je klasa u Aspose.Email za Python.
Mutabilni objekat.
Oznake i značajke
| Izvršni datum: | Iznos: | Prihvat | Opisivanje |
|---|---|---|---|
storage_name | `str | None` | Čitaj. |
is_embedded_message | bool | Čitaj. | Naziv datoteke za priključenu informacijsku adresu: |
is_storage_attachment | bool | Čitaj. | Oznake ako je priloženo blago pohranjeno kao zasebno skladište |
embedded_storage_name | `str | None` | Čitaj. |
filename | `str | None` | Čitaj. |
data | bytes | Čitaj. | Sadrži sirov bajt sadržaj priloženog datoteke. |
mime_type | `str | None` | Čitaj. |
content_id | `str | None` | Čitaj. |
attach_method | int | Čitaj. | U ovom slučaju, u skladu s člankom 13. stavkom 1. točkom (a) točke (b) ovog članka. |
storage_id | `int | None` | Čitaj. |
embedded_message | `“MapiMessage | None”` | Čitaj. |
custom_storage | `MsgStorage | None` | Čitaj. |
properties | MapiPropertyCollection | Čitaj. | Je skup MapiProperty objekata povezanih s priloženom datotekom. |
extra_streams | list[MsgStream] | Čitaj. | Popis dodatnih MsgStream objekata priloženih porukama |
header_reserved_0 | bytes | Čitaj. | Sadrži rezervirane bajtove zaglavlja za internu upotrebu. |
Metoda za primjenu
| Potpis | Opisivanje |
|---|---|
| `from_bytes(filename: str, data: bytes, mime_type: str | None, content_id: str |
| `from_embedded_message(message: “MapiMessage”, filename: str | None, mime_type: str |
| `set_property(property_id: int | CommonMessagePropertyId |