This document outlines steps to setup an SMTP details in AEM along with how to register a new user (non-logged in) in AEM using AccountManagementService API.
To enable the account management service in AEM we have to follow the below Steps
1. One can use corporate SMTP details however for simplicity we are configuring Gmail account here and for password (we have to generate app password) Please refer the url to validate the 2-verification step and generate the password.
In case you face an issue see this blog - java - JavaMail Exception javax.mail.AuthenticationFailedException 534-5.7.9 Application-specific password required
Note: we need to use the steps below to create generate the app password.
Setup an AEM 6.5 SP-12 AEM instance and start the AEM service.
2. Go to system console Adobe Experience Manager Web Console - ConfigurationUser fills the Account Creation form (create an AEM sign up page) and submits it.
This Request received by the servlet and the servlet calls the requestAccount() method of AccountManagementService API.
Highlighted property shows that the user is in disable state
User gets the Account Verification Email
User become Enable After Verifying the link
User gets email for Account Creation