SMTP Health Check

Available since version 3.4.0

AEM as a Cloud Service incompatible!

This feature is not AEM as a Cloud Service compatible; starting with the release 4.6.2 this feature is disabled on this platform (including the SDK).

Add health checks to your Granite WebUI. Please note that the sling:configCollectionInherit MUST be used as shown in this sample.

SMTP E-mail Service Health Check

This health check attempts to connect to the SMTP server defined in the Day CQ Mail Service OSGi Configuration and send a test e-mail to an OSGi configured e-mail address (see sample OSGi configuration below).

Note, this health check can take some time to fail if the timeout.

How to use

Enable the STMP Health check by creating an OSGi Configuration under /apps/myapp/config/com.adobe.acs.commons.hc.impl.SMTPMailServiceHealthCheck

<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
    jcr:primaryType="sling:OsgiConfig"
    email="address-to-send-test-email-to@myco.com"/>

Health Check Tags

  • smtp
  • email
  • integrations

SMTP E-mail Service Health Check

Please report any issues with the Feature or documentation on the ACS AEM Commons GitHub Issue tracker.