2016-05-11 4 views
1

は、私は電子メールを送信する送信されません。デバッガを終了すると、ログファイルに次のエラーが表示されます。Wakandaメールはサーバーサイド(wakanda 10)に

2016-05-11 15:17:55 [com.wakanda-software.xbox] ERROR - [1]/Broken pipe (kOTSerialOverrunErr/EPIPE)., task #21523, task name is HTTP connection handler

誰でも知っていますか?

答えて

2

使用message.sendmail.send unsteadとドメインを追加: 'gmail.com'(送信するために渡されたオブジェクトへの):

var mail = require('waf-mail/mail'); 
var message = new mail.Mail(); 
message.subject = "Here the subject of the email"; 
message.from = "emailadres of the sender"; 
message.to = 'theEmailadres'; 
message.setBodyAsHTML("Here the HTML content of the email"); 
mail.send({ 
    address: 'smtp.gmail.com', 
    port: 465, 
    isSSL: true, 
    username: 'username', 
    password: 'password', 
    domain: 'gmail.com' 
}, message); 

それは私のために完璧に動作、送信者のGmailアカウントの設定で「セキュアでないアプリのアクセスを許可する」を有効にすると、Googleが接続の試行をブロックする可能性があることに注意してください。 Allow less secure apps to access accounts

関連する問題