# Forwarding email Learn how to forward individual emails and set up automatic forwarding rules to send messages outside of Mailosaur. Teams often need to forward emails to an email address outside of Mailosaur. For example, to send messages to colleagues for further review/analysis, or to test email handling functionality within a product. You can forward messages from your Mailosaur account to external email addresses either one-by-one, or via the creation of automated forwarding rules. Before you can forward messages, you must first verify an [external email address](/docs/managing-your-account/external-email-addresses) or [domain name](/docs/managing-your-account/managing-domains) so that you can send email to it. ## Forwarding individual emails You can forward emails within the Mailosaur Dashboard, or via the API: 1. Open one of your emails within the Mailosaur Dashboard. 2. Click the Forward button, at the top of the screen. 3. Select the email address to send to. Remember that you can only send to verified external email addresses. 4. Enter the message body for the forwarded email. 5. When you are finished, click **Send**. ```nodejs // MESSAGE_ID: The `id` of the message you want to forward await mailosaur.messages.forward('{MESSAGE_ID}', { to: 'someone@example.com', // must be a verified address html: '

Hello world.

' }); ``` ```cypress // MESSAGE_ID: The `id` of the message you want to forward cy.mailosaurForwardMessage('{MESSAGE_ID}', { to: 'someone@example.com', // must be a verified address html: '

Hello world.

' }); ``` ```python recipient = "someone@example.com" # must be a verified address body = "

Hello world.

" options = MessageForwardOptions(recipient, html=body) # MESSAGE_ID: The `id` of the message you want to forward mailosaur.messages.forward("{MESSAGE_ID}", options) ``` ```java MessageForwardOptions options = new MessageForwardOptions(); options.withTo("someone@example.com") // must be a verified address .withHtml("

Hello world.

"); // MESSAGE_ID: The `id` of the message you want to forward mailosaur.messages().forward("{MESSAGE_ID}", options); ``` ```csharp // MESSAGE_ID: The `id` of the message you want to forward mailosaur.Messages.Forward("{MESSAGE_ID}", new MessageForwardOptions() { To = "someone@example.com", // must be a verified address Html = "

Hello world.

" } ); ``` ```ruby options = Mailosaur::Models::MessageForwardOptions.new() options.to = 'someone@example.com' # must be a verified address options.html = '

Hello world.

' # MESSAGE_ID: The `id` of the message you want to forward mailosaur.messages.forward('{MESSAGE_ID}', options) ``` ```php $options = new MessageForwardOptions(); $options->to = 'someone@example.com'; // must be a verified address $options->html = '

Hello world.

'; // MESSAGE_ID: The `id` of the message you want to forward $mailosaur->messages->forward('{MESSAGE_ID}', $options); ``` ```go // MESSAGE_ID: The `id` of the message you want to forward m.Messages.Forward("{MESSAGE_ID}", &MessageForwardOptions{ To: "someone@example.com", // must be a verified address Html: "

Hello world.

", }) ```
## Automatic forwarding rules You can also set up rules to automatically forward messages that match given criteria. See [Forwarding Rules](/docs/inboxes/forwarding-rules) for full details on creating, editing, and deleting forwarding rules.