Skip to content

Commit

Permalink
email: Use noreply@ instead of ghost@ to simplify and avoid confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
markstos committed Sep 4, 2023
1 parent 5e3470a commit ec2fda0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ghost/core/core/server/data/schema/fixtures/fixtures.json
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@
{
"id": 1,
"name": "Ghost",
"email": "ghost@example.com",
"email": "noreply@example.com",
"status": "inactive",
"free_member_signup_notification": true,
"paid_subscription_started_notification": true,
Expand Down
2 changes: 1 addition & 1 deletion ghost/core/core/server/services/invites/Invites.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class Invites {
} else {
emailData = {
blogName: this.settingsCache.get('title'),
invitedByEmail: `ghost@${this.settingsHelpers.getDefaultEmailDomain()}`,
invitedByEmail: `noreply@${this.settingsHelpers.getDefaultEmailDomain()}`,
resetLink: this.urlUtils.urlJoin(adminUrl, 'signup', security.url.encodeBase64(invite.get('token')), '/'),
recipientEmail: invite.get('email')
};
Expand Down
2 changes: 1 addition & 1 deletion ghost/core/test/utils/fixtures/fixtures.json
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@
{
"id": 1,
"name": "Ghost",
"email": "ghost@example.com",
"email": "noreply@example.com",
"free_member_signup_notification": true,
"paid_subscription_started_notificaton": true,
"paid_subscription_canceled_notification": false,
Expand Down
2 changes: 1 addition & 1 deletion ghost/staff-service/lib/StaffServiceEmails.js
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ class StaffServiceEmails {
}

get fromEmailAddress() {
return `ghost@${this.defaultEmailDomain}`;
return `noreply@${this.defaultEmailDomain}`;
}

extractInitials(name = '') {
Expand Down
2 changes: 1 addition & 1 deletion ghost/staff-service/test/staff-service.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function testCommonMailData({mailStub, getEmailAlertUsersStub}) {

// has right from/to address
mailStub.calledWith(sinon.match({
from: 'ghost@ghost.example',
from: 'noreply@ghost.example',
to: '[email protected]'
})).should.be.true();

Expand Down

0 comments on commit ec2fda0

Please sign in to comment.