简体   繁体   English

如何在 wso2 Identity Server v. 5.11.0 中使用 Aruba 地址设置 [output_adapter.email]?

[英]How can I set [output_adapter.email] with Aruba address in wso2 Identity Server v. 5.11.0?

I'm trying to set an email sender (for example recovery password).我正在尝试设置 email 发件人(例如恢复密码)。 I already set with a Gmail and Outlook address mail and it's work.我已经设置了 Gmail 和 Outlook 地址邮件,它的工作。 Now i nedd to configure an Aruba hostmail.现在我需要配置一个 Aruba hostmail。 this is my deployment.toml configuration module这是我的 deployment.toml 配置模块

[output_adapter.email]
from_address= "****@aruba.it"
username= "*****@****.it"
password= "******"
hostname= "smtps.aruba.it"
port= 465
enable_start_tls= true
enable_authentication= true
signature = "****"

[output_adapter.email.custom_properties]
"mail.smtp.ssl.protocols"="TLSv1.2"
"mail.transport.protocol"="smtps"

Logs return日志返回

ERROR {org.wso2.carbon.event.output.adapter.email.EmailEventAdapter} - Event dropped at Output Adapter 'EmailPublisher' for tenant id '-1234', Error in message format, Could not connect to SMTP host: smtps.aruba.it, port: 465, response: -1 javax.mail.MessagingException: Could not connect to SMTP host: smtps.aruba.it, port: 465, response: -1

I tried with smpts and smpt (it should be the same port 465).我尝试了 smpts 和 smpt(它应该是同一个端口 465)。 Can you tell me if it's not supported or something?你能告诉我它是否不受支持吗? THanks, i really need help:(谢谢,我真的需要帮助:(

I fixed it by adding these properties in deployment.toml file below this modules:我通过在这个模块下面的 deployment.toml 文件中添加这些属性来修复它:

[output_adapter.email]
from_address= "***@aruba.it"
username= "****"
password= "****!"
hostname= "smtps.aruba.it"
port= 465
enable_start_tls= true
enable_authentication= true
signature = "WSO2"

[output_adapter.email.custom_properties]
"mail.smtp.ssl.protocols"="TLSv1.2"
"mail.smtp.debug"="true"
"mail.smtp.socketFactory.port"="465"
"mail.smtp.socketFactory.class"="javax.net.ssl.SSLSocketFactory"
"mail.smtp.socketFactory.fallback"="false"

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 wso2 身份服务器启动错误 v 5.11.0 windows 10 - wso2 identity server startup error v 5.11.0 windows 10 如果用户在 wso2 身份服务器中尝试失败,我如何在 wso2 日志中记录用户名 - how can i log username in wso2 logs in case of failed attempt of a user in wso2 identity server Wso2 身份服务器 5.11.0 中报告存在漏洞的 JS 库 jquery-3.4.1.js - Vulnerable JS Library jquery-3.4.1.js reported in Wso2 identity server 5.11.0 我可以将多个 WSO2 API 管理器(AM)与单个 WSO2 身份服务器(IS)链接起来吗? - Can i link multiple WSO2 API Managers(AM) with a single WSO2 Identity Server(IS)? wso2 身份服务器 v5.11 github 版本是否支持多租户,还是我需要订阅相同的版本? - Is multitenancy supported in wso2 identity server v5.11 github releases or do I need a subscription for the same? WSO2 身份服务器 Email OTP 使用 REST API - WSO2 Identity Server Email OTP using REST API WSO2身份服务器:无法登录? - WSO2 identity Server: can not login? WSO2 IdentitiServer 5.10.0:如何将路由移动短信提供商与 Wso2 身份服务器 MFA 集成 - WSO2 IdentitiServer 5.10.0 :How to integrate route mobile SMS Provider with Wso2 Identity server MFA 如何在 WSO2 身份服务器中创建自定义客户端身份验证器 - How do I create a Custom Client Authenticator in WSO2 Identity Server 如何在同一个系统中运行2个WSO2 Identity Server服务 - How to run 2 WSO2 Identity Server services in the same system
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM