infomaniak_create_redirection
Create a mail redirection to automatically forward emails from a local address to one or more destination addresses.
Instructions
Create a server-side mail redirection. Two-phase commit. Emails received at name@ will be forwarded to every address in targets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mail_hosting_id | Yes | Mail hosting ID. Discover via infomaniak_list_mail_hostings. | |
| name | Yes | Local part of the source address (e.g. 'support' to forward 'support@coden.lu'). Lowercase alphanumeric with dots, underscores or dashes; 1-64 chars. NOT the full email. | |
| targets | Yes | Destination addresses, full emails. Every address must be valid. Multiple targets fan-out (each receives a copy). | |
| confirmation_token | No | Token from the prior plan response. Required on the apply phase only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||