have same text
This commit is contained in:
parent
86d37411ef
commit
d1423bb3b0
|
@ -639,7 +639,7 @@ Cloudron.prototype.sendMail = function (account, to, callback) {
|
||||||
from: (account.from || account.username) + '@'+ this._box.domain,
|
from: (account.from || account.username) + '@'+ this._box.domain,
|
||||||
to: to,
|
to: to,
|
||||||
subject: 'Hi from e2e test - ' + this._box.domain,
|
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);
|
debug('Sending mail with options %j', mailOptions);
|
||||||
|
|
|
@ -54,7 +54,7 @@ function sendMailToCloudronUser(email, callback) {
|
||||||
var mailOptions = {
|
var mailOptions = {
|
||||||
to: email,
|
to: email,
|
||||||
subject: 'Hi from e2e test - ' + email.split('@')[1],
|
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);
|
send(mailOptions, callback);
|
||||||
|
|
Loading…
Reference in New Issue