在服务器端(wakanda 10)我发送一封电子邮件:
var mail = require('waf-mail/mail');
var message = new mail.Mail();
message.from = 'emailadres of the sender';
message.to = [theEmailadres];
message.subject = 'Here the subject of the email';
message.setBodyAsHTML('Here the HTML content of the email');
message.send('smtp.gmail.com', 465, true, 'username', 'password');
然后看起来程序被冻结了。当我关闭调试器时,我在日志文件中收到此错误:
2016-05-11 15:17:55 [com.wakanda-software.xbox] 错误 - [1] / Broken pipe (kOTSerialOverrunErr / EPIPE).,任务 #21523,任务名称是 HTTP 连接处理程序
有人有想法吗?