have same text

This commit is contained in:
Girish Ramakrishnan 2016-06-24 11:46:08 -05:00
parent 86d37411ef
commit d1423bb3b0
2 changed files with 2 additions and 2 deletions

View File

@ -639,7 +639,7 @@ Cloudron.prototype.sendMail = function (account, to, callback) {
from: (account.from || account.username) + '@'+ this._box.domain,
to: to,
subject: 'Hi from e2e test - ' + this._box.domain,
text: 'This release depends on you'
text: 'This release depends on you' // keep in sync with mailer.sendMailToCloudronUser
};
debug('Sending mail with options %j', mailOptions);

View File

@ -54,7 +54,7 @@ function sendMailToCloudronUser(email, callback) {
var mailOptions = {
to: email,
subject: 'Hi from e2e test - ' + email.split('@')[1],
text: 'I hope you get this. The release depends on you!'
text: 'This release depends on you!' // match this with cloudron.sendMail
};
send(mailOptions, callback);