Remove unnecessary alert about missing opt-out link when sending emails | Community
Skip to main content
Selliers
Level 4
November 6, 2025
New

Remove unnecessary alert about missing opt-out link when sending emails

  • November 6, 2025
  • 1 reply
  • 55 views

When we try to send emails from AJO we get this alert. Saying that the opt-out link is missing in the body.


But his is not entirely true. The link is there, but is placed inside a fragment. To us it seems like AJO is not able to see this link when it is inside a fragment, and then returns a alert. We have placed the link inside a footer fragment, that is not broken before sending the email. We are also using if/or logic controlled by variables to show the right language for that link. This also might be a reason for AJO is not able to recognize the link. But it is there, and it is working. 

Could the code checker that looks for this opt-out link also try to look for this code inside fragments?

1 reply

giriprasathb
Level 3
January 30, 2026

Hi ​@Selliers ,

The error “The opt-out link is not present in the email body (CJMMAS - 2001-200)” is related to Adobe Journey Optimizer’s pre-send compliance validation.

Please consider the following points:

  • Journey Optimizer performs a static compliance check before allowing the email to be sent.

  • If the unsubscribe link is placed inside a reusable fragment (e.g., footer fragment), the validator may not fully resolve the fragment during validation.

  • If the opt-out link is wrapped in conditional logic (such as if/else statements, language-based rules, or profile attribute conditions), the system may fail to detect it.

  • The compliance engine does not always evaluate the fully rendered runtime output, but instead validates the structural presence of the link in the email body.

  • As a result, the error can appear even if the unsubscribe link is visible in preview and functions correctly.

Recommended approach:

  • Ensure the unsubscribe link is directly included in the main email body.

  • Avoid placing the opt-out link inside conditional or dynamic logic.

  • Use the standard subscription/unsubscribe link component provided by Journey Optimizer.

This error typically indicates a limitation in the compliance validation process rather than the actual absence of the opt-out link.

Thanks ,
Giriprasath B

Selliers
SelliersAuthor
Level 4
January 30, 2026

Thanks for a great and informative feedback. But this doesn't change the fact that we see the need that AJO has a better check in the email code, if there is a opt out link or not. The fact is still present, that we receive a warning about missing opt out even it is present in the template. We still means that this is  a weakness in the tool that the tool is not capable to discover this type of links in there own tool, and code checker. It must be possible to extent and improve the feature to be able to read inside fragments etc that is dropped into the template. It is only HTML code, and should not be that hard to find.