# IOutbox.Send(MessageId)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.messaging.ioutbox/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.messaging.ioutbox/methods/)

```csharp
public abstract void Send(MessageId messageId)
```

Synchronously stages, for the grain's next journal write, a message which a registered [IOutboxMessageSource](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.messaging.ioutboxmessagesource/) provides.

### Parameters

- `messageId` (`MessageId`): The message ID, which a registered source provides.

### Exceptions

- `System.ArgumentException`: The ID is unset or too long, or the source's message is invalid or addressed to the sending grain.
- `System.InvalidOperationException`: The ID is pending as an ordinary message, no registered source provides it, the source returned a different ID, or the outbox is unavailable.
