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 or domain name so that you can send email to it.
Forwarding individual emails
You can forward emails within the Mailosaur Dashboard, or via the API:
- Open one of your emails within the Mailosaur Dashboard.
- Click the Forward button, at the top of the screen.
- Select the email address to send to. Remember that you can only send to verified external email addresses.
- Enter the message body for the forwarded email.
- When you are finished, click Send.
// 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: '<p>Hello world.</p>'
});Automatic forwarding rules
You can also set up rules to automatically forward messages that match given criteria.
See Forwarding rules for full details on creating, editing, and deleting forwarding rules.
Previous
Sending test email to MailosaurNext
Replying to email