Apache Sling > Sling CMS > Developers > Email Configuration

Email Configuration

Apache Sling CMS uses Apache Sling Commons Messing Mail for sending emails.

Crypto Configuration

The Reference project includes base configurations for Apache Sling Commons Crypto, however you must still configure the Apache Sling Commons Crypto “File Password Provider”.

The Names for the configuration should be default and the Path should be the filesystem path to a file containing the password.

SMTP Configuration

Once Apache Sling Commons Crypto is configured, you can configure Apache Sling Commons Messaging Mail.

Use the Crypto Web Console to encrypt the password for the SMTP server.

Use the password from the Crypto Web Console password to configure the Apache Sling Commons Messaging Mail “Simple Mail Service”