Expertise technical

Words and phrases blocked by Moroccan operators in SMS marketing

Filtered words SMS marketing operator Morocco: technical guide with code examples for developers in Morocco.

Words and phrases blocked by Moroccan operators in SMS marketing
Table of Contents
  1. Writing a B2B marketing SMS requires a complex balance: you have to be striking while avoiding the appearance of a spammer.In Morocco (IAM, Orange, inwi), the firewalls of telephone operators scan the content of your campaigns in real time (via Deep Packet Inspection on the SS7 frames).
  2. Content categories generally filtered
  3. Why the financial sector is monitored
  4. The problem of short links (Killer Number 1)
  5. How to Rewrite a Rejected Message (Before / After)
  6. Test your message before a mass sending

Writing a B2B marketing SMS requires a complex balance: you have to be striking while avoiding the appearance of a spammer.In Morocco (IAM, Orange, inwi), the firewalls of telephone operators scan the content of your campaigns in real time (via Deep Packet Inspection on the SS7 frames).

If your message contains a too high density of “forbidden words” or suspicious syntax patterns, it will never be delivered to the customer, although the API accepts it. Worse, the operator will degrade the reputation of your brand.

What are these words and phrases that trigger anti-spam filters in Morocco?

Content categories generally filtered

Operator filters are not stupid; they look for combinations. A single word passes, but combined with other risk factors (such as a link or majuscules), it becomes fatal.

The lexical field of “aggressive free” is the most basic filter. Operators block campaigns that target vulnerable populations with false promises. Monitored words: ‘FREE’ (in majuscules), ‘WIN’, ‘CADEAU’, ‘Slot’, ‘Easy Money’, ‘Millions’. Local nuance: On holidays (Aid, Ramadan), real promotions using the terms ‘Sold’ or ‘Promo’ are tolerated if the Sender ID is trusted, but the abuse of ‘100% FREE’ without a reliable business context will trigger a block (statut ‘Rejected’).

The artificial intelligence of the filters sanctions the syntax even before the meaning. Blocked formats: - More than two consecutive exclamation points !!! - The abuse of currency symbols $$$, €€. - The strange alternation of majuscules intended to deceive the filters (e.g., GrAtUiT). - The written messages TOTALLY IN MAJUSCULES.

Why the financial sector is monitored

In Morocco, banking phishing (usurpation of identity from Moroccan banks to steal IDs) has prompted operators to deploy draconian rules on the vocabulary related to money and urgency.

  • Very high-risk words (except for official banks):* ‘Card blocked’, ‘Password’, ‘Account suspended’, ‘Payment refused’, ‘Customs fee’, ‘Colis blocked’, ‘Security Alert’.

If you are not a financial institution with a Sender ID explicitly authorized (banking NOC letter), send "Your payment of 500 MAD has been blocked, click here" will be filtered to 99% by the operator.

The problem of short links (Killer Number 1)

The fatal mistake of most marketers is to try to save characters using public URL shortcuts. Systematically blocked links: bit.ly, cutt.ly, tinyurl.com.

The explanation: Scammers use bit.ly to hide the end address of phishing sites.The operators block the entire domain in SMS. The solution: If you need to send a link, use a clear link attached to your domain (your-brand.ma/promo) or configure your own shortcut subdomain (go.your-brand.ma).

How to Rewrite a Rejected Message (Before / After)

🔸 Message blocked by filters (Refused): > URGENT !!! GET 50% OFF on your next order. Click HERE: bit.ly/promo123 $$$

✅ Valid Message (Delivered): > Hello. Take advantage of our exclusive offer: -50% on your next store purchase. See conditions on: offer.your brand.ma/50

Test your message before a mass sending

Never send 50,000 SMS without writing testing.If your API provider tells you a failure status "Unknown" or "Rejected" in the test phase on your own phone, the message will not pass.

  1. Unit test: Send the exact message to yourself (via a test script or the dashboard).
  2. Dichotomy: If the test fails, remove the link and return it. If the message passes, it’s because the link is a problem. If it still fails, remove the major letters and words related to the emergency. Proceed with removal to identify the rule that blocks you.

Why choose EnvoiSMS for your business?

Carrier Delivery

Local routes to IAM, Orange and Inwi, with automatic failover between routes and delivery status sent by webhook.

Cost Optimization

WhatsApp Business API from 0.65 MAD per message with optimal ROI.

Sovereign Data (CNDP)

Full compliance with Moroccan personal data protection regulations (CNDP).

How do I track routing on the IAM, Inwi and Orange networks?
Our local routes to Maroc Telecom (IAM), Orange and inwi, with automatic failover between routes, return a carrier delivery status for every message, by webhook. Delivery time depends on the recipient's carrier and network.
How does the platform manage the format of Moroccan numbers?
EnvoiSMS automatically normalizes the numbers entered (06..., 07..., 00212...) to the E.164 standard (+212) to avoid any delivery failure.

Suggested Articles

SMS Formatting in Morocco: Line Breaks, GSM-7 vs UCS-2 Encoding and Cost Optimization
technical

SMS Formatting in Morocco: Line Breaks, GSM-7 vs UCS-2 Encoding and Cost Optimization

WhatsApp Business Formatting in Morocco: Enriched Text, Emojis and Interactive Buttons
technical

WhatsApp Business Formatting in Morocco: Enriched Text, Emojis and Interactive Buttons

One-Tap Autofill & 1-Click WhatsApp OTP Authentication in Morocco
technical

One-Tap Autofill & 1-Click WhatsApp OTP Authentication in Morocco