Expand my Community achievements bar.

SOLVED

How can I configure email on aem cloud sandbox, i am not able to access system/console/configMgr also not able to see Operations under tools

Avatar

Level 2

I want to configure email using smtp, currently I am not able to access system/console/configMgr also not able to see Operations under tools aem sandbox

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@leojohn 

In AEM cloud there is no way that you will be able to access to configMgr or filex console as it is restricted. 

 

Only way to update the SMTP configuration is through the config deployment through cloud. How every as part of the implementation you can set the SMTP variables as an environment variables so that in future you can change the variables directly in the environment and change the configurations

 

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/deploy...

 

Code snippet:

ui.config/src/main/content/jcr_root/apps/<Project>/osgiconfig/config/com.day.cq.mailer.DefaultMailService.cfg.json

{
"debug.email": false,
"smtp.user": "$[secret:smtpuser]",
"smtp.password": "$[secret:smtppassword]",
"smtp.port": 465,
"smtp.ssl": true,
"smtp.starttls": true,
"smtp.host": "in.mailjet.com",
"from.address": "noreply@XXXXX.com"
}

 

 

Set environment variable

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/using-...

 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

@leojohn 

In AEM cloud there is no way that you will be able to access to configMgr or filex console as it is restricted. 

 

Only way to update the SMTP configuration is through the config deployment through cloud. How every as part of the implementation you can set the SMTP variables as an environment variables so that in future you can change the variables directly in the environment and change the configurations

 

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/deploy...

 

Code snippet:

ui.config/src/main/content/jcr_root/apps/<Project>/osgiconfig/config/com.day.cq.mailer.DefaultMailService.cfg.json

{
"debug.email": false,
"smtp.user": "$[secret:smtpuser]",
"smtp.password": "$[secret:smtppassword]",
"smtp.port": 465,
"smtp.ssl": true,
"smtp.starttls": true,
"smtp.host": "in.mailjet.com",
"from.address": "noreply@XXXXX.com"
}

 

 

Set environment variable

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/using-...