버전용 도움말 콘텐츠:

AEM Communities uses email for

By default, the email feature is not functional as it requires specification of an SMTP server and SMTP user.

경고:

Email for notifications and subscriptions must be configured only on the primary publisher.

Default Mail Service Configuration

The default mail service is required for both notifications and subscriptions.

This is based on the documentation for Configuring Email Notification, but with a difference in that the field "From" address is not required and should be left empty.

For example (filled in with values for illustrative purposes only) :

chlimage_1
  • SMTP server host name : (required) The SMTP server to use.
  • SMTP server port : (required) The SMTP server port must be 25 or higher.
  • SMTP user : (required) The SMTP user.
  • SMTP password : (required) The SMTP user's password.
  • "From" address : Leave empty
  • SMTP use SSL : If checked, will send secure email.  Ensure the port is set to 465 or as required for SMTP server.
  • Debug email : If checked, enables logging of SMTP server interactions.

AEM Communities Email Configuration

Once the default mail service is configured, the two existing instances of the AEM Communities Email Reply Configuration OSGi config, included in the release, become functional.

Only the instance for subscriptions needs to be further configured when allowing reply by email.

  1. email instance
    for notifications, which does not support reply email, and should not be altered
  2. subscriptions-email instance
    requires configuration to fully enable creating post from reply email

To reach the Communities email configuration instances:

chlimage_1

Configuration for Notifications

The instance of AEM Communities Email Reply Configuration OSGi config with the Name email is for the the notifications feature.  This feature does not include email reply.

This configuration should not be altered.

  • locate the AEM Communities Email Reply Configuration
  • select the edit icon
  • verify the Name is email
  • verify Create post from reply email is unchecked
chlimage_1

Configuration for Subscriptions

For Communities subscriptions, it is possible to enable or disable the ability for a member to post content by replying to an email.

  • locate the AEM Communities Email Reply Configuration
  • select the edit icon
  • verify the Name is subscriptions-email
chlimage_1
  • Name : (required) subscriptions-email.  Do Not Edit.
  • Create post from reply email : If checked, recipient of subscription email may post content by sending a reply.  Default is checked.
  • Add tracked id to header : Default is Reply-To.
  • Maximum length of Subject :  If tracker id is added to subject line, this is the maximum length of subject, excluding tracked id, after which it will be trimmed. Note that this should be as small as possible to avoid tracked id information from being lost.  Default is 200.
  • Email "From" address : (required)   Address that notification email would be delivered from.  Likely the same SMTP user specified for the default mail service.  Default is no-reply@example.com.
  • Reply-to-Delimiter : If tracker id is added to Reply-to header, this delimiter will be used.  Default is + (plus sign).
  • Tracker Id prefix in subject : If tracker id is added to subject line, this prefix will be used.  Default is post#.
  • Tracker id prefix in message body : If tracker id is added to message body, this prefix will be used.  Default is Please do not remove this:.
  • Email as HTML : If checked, Content-Type of email will be set as "text/html;charset=utf-8".  Default is checked.
  • Default user name : This name will be used for no name users.  Default is no-reply@example.com.
  • Templates root path : The email is built using template stored at this root path.  Default is /etc/community/templates/subscriptions-email.

Configure Polling Importer

In order for the email to be brought into the repository, it is necessary to configure a polling importer and configure its properties in the repository manually.

Add New Polling Importer

chlimage_1
  • Type : (required) Pull down to select POP3 (over SSL).  
  • URL : (required) The outbound mail server.  For example, 
    //pop.gmail.com:995/INBOX?username=community-email@gmail.com&password=****
  • Import to Path* : (required) Set to /content/usergenerated/mailFolder/postEmails
    by browsing to the postEmails folder and select OK
  • Update Interval in Seconds : (optional) The mail server configured for the default mail service may have requirements regarding the update interval value. For example, Gmail may require an interval of 300.
  • Login : (optional) 
  • Password : (optional)
  • Select OK

Adjust Protocol for New Polling Importer

Once the new polling configuration is saved, it is necessary to further modify properties of the subscription email importer in order to change the protocol from POP3 to emailreply

Using CRXDE Lite :

  • on the primary publisher
  • signed in with administrator privileges
  • browse to http://<server>:<port>/crx/de/index.jsp#/etc/importers/polling
  • select the newly created configuration
  • modify the following properties
    • feedType : replace pop3s with emailreply
    • source: replace source's protocol pop3s:// with emailreply://
chlimage_1

The red triangles indicate the modified properties. Be sure to save the changes :

  • select Save All

이 작업에는 Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License의 라이센스가 부여되었습니다.  Twitter™ 및 Facebook 게시물은 Creative Commons 약관을 적용받지 않습니다.

법적 고지 사항   |   온라인 개인 정보 보호 정책