# SendGatewayMessage()

Sends an outgoing message through an event gateway.

```
SendGatewayMessage( gatewayID=string, data=struct );
```

**Returns:** string

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| gatewayID | string | Yes | Identifier of the gateway to send the message. |  |
| data | struct | Yes | A structure. |  |

# Examples

*There are currently no examples for this function.*







# Categories

[Event Gateways](../../categories/event-gateways.md)

# See Also

[Event Gateways in Lucee](../../recipes/event-gateways.md)