내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

SMTP for AEM as Cloud Sandbox

Avatar

Level 3

Hello,


I have a sandbox environment where I would like to test some features that require SMTP connection. I saw this article explaining how to set it up https://experienceleague.adobe.com/docs/experience-manager-learn/cloud-service/networking/examples/e... but as far as I understand this requires advanced networking which is not supported in sandbox (see documentation)

 

My question is: how can I set up SMTP for my sandbox env? Is this possible? I tried to connect AEM with AWS SMTP server but when I try to use it I can see the following error:

 

used by: org.apache.commons.mail.EmailException: Sending the email to the following server failed : email-smtp.us-east-1.amazonaws.com:25
        at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1469) [org.apache.commons.email:1.5.0]
        at org.apache.commons.mail.Email.send(Email.java:1496) [org.apache.commons.email:1.5.0]
        at com.day.cq.mailer.impl.DefaultMailService.send(DefaultMailService.java:331) [com.day.cq.cq-mailer:5.4.22]
        ... 173 common frames omitted
Caused by: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: email-smtp.us-east-1.amazonaws.com, 25; timeout 60000
        at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2209) [com.sun.mail.javax.mail:1.6.2]
        at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:740) [com.sun.mail.javax.mail:1.6.2]
        at javax.mail.Service.connect(Service.java:388) [com.sun.mail.javax.mail:1.6.2]
        at javax.mail.Service.connect(Service.java:246) [com.sun.mail.javax.mail:1.6.2]
        at javax.mail.Service.connect(Service.java:195) [com.sun.mail.javax.mail:1.6.2]
        at javax.mail.Transport.send0(Transport.java:254) [com.sun.mail.javax.mail:1.6.2]
        at javax.mail.Transport.send(Transport.java:124) [com.sun.mail.javax.mail:1.6.2]
        at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1459) [org.apache.commons.email:1.5.0]
        ... 175 common frames omitted
Caused by: java.net.SocketTimeoutException: connect timed out

 

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 7

SMTP not possible on Cloud Service sandbox.

원본 게시물의 솔루션 보기

3 답변 개

Avatar

정확한 답변 작성자:
Level 7

SMTP not possible on Cloud Service sandbox.

Avatar

Community Advisor

Avatar

Level 3

Hi, I did but the question was about sand box env and it sees that @tusharbias has answered the question 🙂