Skip to main content

Email link not working or content blocked error

In this article, we explain why email features may stop working, links get blocked, and errors like “This content is blocked” appear.

Y
Written by Yusef Abulaynain
Updated over 5 months ago

If you're having issues with your email link not working, you need to make an update to the Apache Content Security Policy.

For hosted customers please raise a new case online and reference the title of this article.

For non-hosted customers, your internal IT team will have to make this change:

Update the Apache Content Security Policy by adding mailto: to the frame-src. The Apache Content Security Policy will be configured in either the ssl.conf or httpd.conf file on the Mosaic app server. For Redhat, the file locations will usually be /etc/httpd/conf.d/ssl.conf or /etc/httpd/conf/httpd.conf

Please see the complete Content Security Policy below.

Header set Content-Security-Policy: "default-src 'self' data: ; \
script-src 'self' 'unsafe-inline' 'unsafe-eval' https://ajax.googleapis.com ; \
object-src 'self' ; style-src 'self' https://fonts.googleapis.com https://ajax.googleapis.com data: 'unsafe-inline' ; \
img-src 'self' https://ajax.googleapis.com data: ; \
media-src 'self' data: ; \
frame-src 'self' data: mailto: ; \
font-src 'self' https://fonts.gstatic.com data: ; \
connect-src 'self' data: "


Restart Apache for the change to take effect. Please see instructions below.

apachectl stop
apachectl start

Did this answer your question?