
## AddErrorMessage {#adderrormessage}

Add an error or warning message to the start of the messages string builder. Used by the distributor to record problems.

**Returns:** virtual void Aspose::Email::Tools::Logging::

```cpp
AddErrorMessage(System::String message)
```

| Parameter | Description |
| --- | --- |
| message | Message to be added to this instance |

