---
id: "P:cAlgo.API.Plugin.Notifications"
kind: "property"
type: "T:cAlgo.API.Plugin"
url: "https://help.ctrader.com/ctrader-algo/references/General/Plugin/Notifications/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# Plugin.Notifications

Member of [Plugin](https://help.ctrader.com/ctrader-algo/references/General/Plugin/index.md).

## Notifications

Represents the notifications, such as sounds and email.

Environments: Desktop supported · CLI not supported · Cloud not supported.

- CLI: Plugins cannot run in the CLI: ctrader-cli runs cBots only.
- Cloud: Plugins cannot run in the cloud: it runs cBots only.

C#:

```csharp
public INotifications Notifications {get;}
```

Python:

```python
api.Notifications: INotifications
```

### Returns

`INotifications` — 

### Examples

C#:

```csharp
Notifications.PlaySound(@"C:\Windows\Media\notify.wav");
```

Python:

```python
api.Notifications.PlaySound(r"C:\Windows\Media\notify.wav")
```

C#:

```csharp
var emailBody = "this is the message send";
Notifications.SendEmail("from@example.com", "to@example.com", "my subject", emailBody);
```

Python:

```python
api.Notifications.SendEmail("from@example.com", "to@example.com", "my subject", "this is the message send")
```

