Skip to main content

SMS to Email

SMS to Email Example​

Once enabled each SMS will trigger a an email to the selected address. An example email is shown below:

Example email

The email will contain the following structure:

  1. O2 MR SMS from - Static text
  2. The from number
    1. If a name is known for the from number it will be shown in brackets
  3. The to number
    1. If a name is known for the to number it will be shown in brackets
  4. The UTC timestamp of the SMS
  5. The address the email is sent from
  6. The address the email is sent to
  7. The content of the SMS - Base64 encoded string

In addition to the content of the email the following headers are also added:

  • X-O2MR-Interaction-ID - A unique ID for the SMS
  • X-O2MR-SMS-SUBSCRIBER - The Subscribers phone number (this enables the system to work out the direction of the SMS)
  • X-O2MR-SMS-FROM - The number sent from
  • X-O2MR-SMS-TO - The number sent to