For CQ to be able to send emails, the Day CQ Mail Service needs to be properly configured. You can view the configuration in the Web console. When working with AEM there are several methods of managing the configuration settings for such services; see Configuring OSGi for more details and the recommended practices.
The following constraints apply:
- The SMTP server port must be 25 or higher.
- The SMTP server host name must not be blank.
- The "From" address must not be blank.
To help you debug an issue with the Day CQ Mail Service, you can watch the logs of the service:
com.day.cq.mailer.DefaultMailService
The configuration looks as follows in the Web console: