dsasd12314 2014-12-10 21:29
浏览 70

在WSO2 EMM 1.1.0中添加用户电子邮件不起作用

I am testing WSO2 EMM 1.1.0 on a Ubuntu. When you add a new user an invitation email should go to the user. The email settings can be defined in the configuration page. I have used the followings config for email

Host: smtp.gmail.com
Port: 587
Username: email@gmail.com
Password: something
Sender Email Address: email@gmail.com

I have used port 587 because in the code tls is mentioned while sending the email. I have tried the same with port 25 also.

var sender = new email.Sender(String(emailConfigurations.SMTP[0]), String(emailConfigurations.Port[0]), String(emailConfigurations.UserName[0]), String(emailConfigurations.Password[0]), "tls");

Now when I create a user, I get an error saying 'Fatal error occured!'. The moment I delete the Email configs, the error goes away.

The code in ../repository/deployment/server/jaggeryapps/emm/client/js/users/add.js at line#90 defines this error.

500: function() {               
  n.setText('Fatal error occured!');    
  n.setType('error');
  n.setTimeout(1000);           
},

Any ideas how to resolve this error?

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 opencv 无法读取视频
    • ¥15 用matlab 实现通信仿真
    • ¥15 按键修改电子时钟,C51单片机
    • ¥60 Java中实现如何实现张量类,并用于图像处理(不运用其他科学计算库和图像处理库))
    • ¥20 5037端口被adb自己占了
    • ¥15 python:excel数据写入多个对应word文档
    • ¥60 全一数分解素因子和素数循环节位数
    • ¥15 ffmpeg如何安装到虚拟环境
    • ¥188 寻找能做王者评分提取的
    • ¥15 matlab用simulink求解一个二阶微分方程,要求截图