mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-13 10:55:58 +03:00
Fixing config path in email
This commit is contained in:
parent
3fab1f708a
commit
dea7ac56ac
@ -96,7 +96,7 @@ GhostMailer.prototype.send = function (message) {
|
||||
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,
|
||||
sendMail = nodefn.lift(this.transport.sendMail.bind(this.transport));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user