Apache Sling > Sling CMS > Developers > Email Configuration

Email Configuration

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

Crypto Configuration

Apache Sling Commons Messing Mail uses Apache Sling Commons Crypto.

To configure Commons Crypto, you should provide the following configurations:

  • org.apache.sling.commons.crypto.internal.FilePasswordProvider~[somename]
  • org.apache.sling.commons.crypto.jasypt.internal.JasyptRandomIvGeneratorRegistrar~[somename]
  • org.apache.sling.commons.crypto.jasypt.internal.JasyptRandomSaltGeneratorRegistrar~d[somename]
  • org.apache.sling.commons.crypto.jasypt.internal.JasyptStandardPBEStringCryptoService~[somename]

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”