
## AddAttachment {#addattachment}

Add an attachment to message

**Returns:** virtual void Aspose::Email::

```cpp
AddAttachment(System::SharedPtr < Attachment > attachment)
```

| Parameter | Description |
| --- | --- |
| attachment | Attachment for adding |

