mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Fixing config path in email
This commit is contained in:
parent
3fab1f708a
commit
dea7ac56ac
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ GhostMailer.prototype.send = function (message) {
|
||||||
return when.reject(new Error('Email Error: Incomplete message data.'));
|
return when.reject(new Error('Email Error: Incomplete message data.'));
|
||||||
}
|
}
|
||||||
|
|
||||||
var from = 'ghost-mailer@' + url.parse(this.ghost.config().hostname),
|
var from = 'ghost-mailer@' + url.parse(this.ghost.config().url).hostname,
|
||||||
to = message.to || this.ghost.settings().email,
|
to = message.to || this.ghost.settings().email,
|
||||||
sendMail = nodefn.lift(this.transport.sendMail.bind(this.transport));
|
sendMail = nodefn.lift(this.transport.sendMail.bind(this.transport));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue