# update()

Canonical URL: https://developers.iagenify.com/ar/sdk/ref/mailbox/update/
Language: ar

`mailbox.update({ name?, catchAll?, image?, signature? }) → Promise<Mailbox>`

تغييرات اسم العرض ، و الكل ، الصورة أو التوقيع فقط ما تمرره هو ممسّ.

Status: PATCH · image: null returns to the account's · signature is sanitised

```javascript
await box.update({ name: "Support" });
await box.update({ image: { data: bytes, type: "image/png" } });   // its own picture
await box.update({ image: null });                                  // back to the account's
await box.update({ signature: { html: "<p>Support — example.com</p>", image: true } });
await box.update({ signature: null });                              // remove it
```

| Name | Type | Requirement | Description |
| --- | --- | --- | --- |
| `name` | string |  | الاسم الذي هو اسم العرض. |
| `catchAll` | boolean |  | عناوين مجهولة على أرض المضيف هنا. |
| `image` | object|null |  | `{ data, type }`. `null` إلى الحساب **إلى**. |
| `signature` | object|null |  | `{ html, image }`. `image: true` في صف صورة صندوق البريد. |

## الصورة {#image}

`data` takes bytes, base64 or a full data address. Two megabytes at most, in the usual image formats. Setting `null` returns to the account's photo, which is the sensible default rather than nothing.

وتُنسخ صورة الحساب مرة واحدة في مخزن الحساب نفسه بدلا من نقلها من حيث مصدرها - وينبغي ألا تعتمد صفحة على طرف ثالث في دائرة، ولا ينبغي لأي شيء خارجها أن يعرف كم مرة يقرأ الزبون بريده.

## التوقيع مُحَوّل على كتابة {#signature}

> **لا نص لا نص لا مُعالجات لا خلفية**
>
> صورة خلفية في توقيع هو a تتبع بكسل بوصة كل رسالة العميل. HTML إلى a set هو ليس الإيطالية هو مُستخدَم.

## صورة صورة صورة وصول a صورة مستلم {#image-in-signature}

وهي تنتقل داخل الرسالة بدلا من أن تُجلب، وبالتالي تظهر بدون ’’تحمّل الصور البعيدة‘. لا شيء في الرسالة يتحكم في الدائرة التي يسحبها عميل المتلقي بجانب اسم المرسل - التوقيع هو الجزء الذي تتحكم فيه.

## لكل مناجم حدود {#catchall}

إنها موجودة فقط عند أعلى. على المجال الفرعي يتم رفضها بدلا من تخزينها كإطار لا ينطبق.

- [send()](/ar/sdk/ref/mailbox/send): حيث استخدم التوقيع.
- [contacts.save()](/ar/sdk/ref/mail/contacts/save): صورة لمراسل

```python
box.update(name="Support")
box.update(image={"data": png_bytes, "type": "image/png"})   # its own picture
box.update(image=None)                                        # back to the account's
box.update(signature={"html": "<p>Support — example.com</p>", "image": True})
box.update(signature=None)                                    # remove it
```
