If your product is capable of handling SMS replies from your customers (e.g. to opt out of further messages), you can use Mailosaur’s reply feature to simulate such a scenario.
When you reply, the SMS message is sent back to the phone number it was originally sent to Mailosaur from. Before you can reply to SMS for the first time, you may need to contact our support team to configure the number, so that is able to reply.
Content filtering
In order to prevent misuse and ensure compliance with our industry obligations, Mailosaur restricts SMS replies to single words and certain pre-approved phrases (e.g. "Opt out", "Yes please", "No thanks"). These pre-approved phrases apply to all accounts.
Enterprise customers have more fine-grained control over what they can send with their phone numbers. For more information on configuring these restrictions, contact support.
Replying to an SMS message
You can reply to SMS messages within the Mailosaur Dashboard, or via the API:
- Open one of your messages within the Mailosaur Dashboard.
- Click the Reply button, at the top of the screen.
- Enter a text body for the reply.
- When you are finished, click Send.
// MESSAGE_ID: The `id` of the message you want to reply to
await mailosaur.messages.reply('{MESSAGE_ID}', {
text: 'STOP'
});Previous
Test phone numbers