small fixes in email

This commit is contained in:
Matias Alejo Garcia 2014-10-31 00:01:39 -03:00
parent e2baced104
commit c959753780
1 changed files with 2 additions and 2 deletions

View File

@ -158,7 +158,7 @@ emailPlugin.sendVerificationEmail = function (email, secret) {
var emailBody = results[0];
var emailBodyHTML = results[1];
var mailOptions = {
from: 'Insight Services <wallet@copay.io>',
from: 'copay@copay.io',
to: email,
subject: '[Copay] Your wallet backup needs confirmation',
text: emailBody,
@ -172,7 +172,7 @@ emailPlugin.sendVerificationEmail = function (email, secret) {
if (err) {
logger.error('An error occurred when trying to send email to ' + email, err);
} else {
logger.error('Message sent: ', info);
logger.info('Message sent: ', info ? info : '');
}
});
});