small fixes in email
This commit is contained in:
parent
e2baced104
commit
c959753780
@ -158,7 +158,7 @@ emailPlugin.sendVerificationEmail = function (email, secret) {
|
|||||||
var emailBody = results[0];
|
var emailBody = results[0];
|
||||||
var emailBodyHTML = results[1];
|
var emailBodyHTML = results[1];
|
||||||
var mailOptions = {
|
var mailOptions = {
|
||||||
from: 'Insight Services <wallet@copay.io>',
|
from: 'copay@copay.io',
|
||||||
to: email,
|
to: email,
|
||||||
subject: '[Copay] Your wallet backup needs confirmation',
|
subject: '[Copay] Your wallet backup needs confirmation',
|
||||||
text: emailBody,
|
text: emailBody,
|
||||||
@ -172,7 +172,7 @@ emailPlugin.sendVerificationEmail = function (email, secret) {
|
|||||||
if (err) {
|
if (err) {
|
||||||
logger.error('An error occurred when trying to send email to ' + email, err);
|
logger.error('An error occurred when trying to send email to ' + email, err);
|
||||||
} else {
|
} else {
|
||||||
logger.error('Message sent: ', info);
|
logger.info('Message sent: ', info ? info : '');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user