Mail Server Set up in AEM using GMail

Applicable for versions AEM 6.x

AEM provides OOTB OSGI configuration to enable the mailing service.This service is named as DAY CQ Mailing service. Here the configuration of the SMTP server to be used needs to be added. In this blog, we are going to see how can we use gmail SMTP server to enable the mailing service in AEM.

Following are the steps :

SMTP Server Host
SMTP Server Port465
SMTP User<gmail address>
SMTP Password<gmail password>
“From” address<gmail address>
SMTP use SSLCheck this
SMTP use StartTLSDon’t check
Debug emailDon’t check

Search for the config file using PID. Check in this config file into configuration code base to persist the configuration even after deployment. []

# Configuration created by Apache Sling JCR Installer

The mail server integration is completed and Day CQ Mail service is active now. You can send emails from AEM instance.

One thought on “Mail Server Set up in AEM using GMail

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s