You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by dk...@apache.org on 2020/02/26 14:32:38 UTC

[sling-org-apache-sling-app-cms] branch master updated: Adding documentation on configurng the email sender

This is an automated email from the ASF dual-hosted git repository.

dklco pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-app-cms.git


The following commit(s) were added to refs/heads/master by this push:
     new 4e028c0  Adding documentation on configurng the email sender
4e028c0 is described below

commit 4e028c04d870085044380da3568a51dedc22344e
Author: Dan Klco <dk...@apache.org>
AuthorDate: Wed Feb 26 09:32:23 2020 -0500

    Adding documentation on configurng the email sender
---
 docs/administration.md      |  1 +
 docs/email-configuration.md | 29 +++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/docs/administration.md b/docs/administration.md
index a6bc098..b99a234 100644
--- a/docs/administration.md
+++ b/docs/administration.md
@@ -17,6 +17,7 @@
  - [Component Policies](component-policy.md)
  - [Configuring a Site](configure-site.md)
  - [Configuring File Editor](configure-file-editor.md)
+ - [Email Configuration](email-configuration.md)
  - [Error Pages](error-pages.md)
  - [Image Transformations](image-transformations.md)
  - [LDAP Authentication](ldap.md)
diff --git a/docs/email-configuration.md b/docs/email-configuration.md
new file mode 100644
index 0000000..f9401da
--- /dev/null
+++ b/docs/email-configuration.md
@@ -0,0 +1,29 @@
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor 
+	license agreements. See the NOTICE file distributed with this work for additional 
+	information regarding copyright ownership. The ASF licenses this file to 
+	you under the Apache License, Version 2.0 (the "License"); you may not use 
+	this file except in compliance with the License. You may obtain a copy of 
+	the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required 
+	by applicable law or agreed to in writing, software distributed under the 
+	License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 
+	OF ANY KIND, either express or implied. See the License for the specific 
+	language governing permissions and limitations under the License. -->
+[Apache Sling](https://sling.apache.org) > [Sling CMS](https://github.com/apache/sling-org-apache-sling-app-cms) > [Developers](developers.md) > Email Configuration
+
+# Email Configuration
+
+Apache Sling CMS uses [Apache Sling Commons Messing Mail](https://github.com/apache/sling-org-apache-sling-commons-messaging-mail) for sending emails.
+
+## Crypto Configuration
+
+The Reference project includes base configurations for [Apache Sling Commons Crypto](https://sling.apache.org/documentation/bundles/commons-crypto.html), however you must still configure the [Apache Sling Commons Crypto “File Password Provider”](http://localhost:8080/system/console/configMgr/org.apache.sling.commons.crypto.internal.FilePasswordProvider).
+
+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](http://localhost:8080/system/console/sling-commons-crypto-encrypt) 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”](http://localhost:8080/system/console/configMgr/org.apache.sling.commons.messaging.mail.internal.SimpleMailService)
\ No newline at end of file