# Is there a way to edit the name associated with the From: address of newsletter emails?

**URL:** <https://forum.ghost.org/t/is-there-a-way-to-edit-the-name-associated-with-the-from-address-of-newsletter-emails/18256>\
**Category:** Developer help\
**Created:** [November 14, 2020, 8:09pm UTC](https://forum.ghost.org/t/is-there-a-way-to-edit-the-name-associated-with-the-from-address-of-newsletter-emails/18256 "2020-11-14T20:09:27Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![mehmetalianil](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/mehmetalianil/32/10322_2.png) [@mehmetalianil](https://forum.ghost.org/u/mehmetalianil)\
**Post date:** [November 14, 2020, 8:09pm UTC](https://forum.ghost.org/t/is-there-a-way-to-edit-the-name-associated-with-the-from-address-of-newsletter-emails/18256/1 "2020-11-14T20:09:27Z")

</div>

The email From: address inherits the name of the blog, but we would like that to have the name of the newsletter instead.

Well, I feel that we have two choices, but i am wondering whether there is a better third one.

- Hardcode the desired name in the sources. (Which might be problematic when we upgrade)
- Create a second instance of Ghost that only has the newsletter (which is pretty impractical)

Do you have a better alternative for me?

- URL is : [https://beta.apparent.today](https://beta.apparent.today)
- **Version** 3.37.1
- **Environment** production
- **Database** mysql
- **Mail** SMTP (mailgun integration)

And

- Installed with ghost-cli
- node 12.1 Database mysql

---

<div class="post-metadata">

**Author:** ![mehmetalianil](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/mehmetalianil/32/10322_2.png) [@mehmetalianil](https://forum.ghost.org/u/mehmetalianil)\
**Post date:** [November 14, 2020, 8:22pm UTC](https://forum.ghost.org/t/is-there-a-way-to-edit-the-name-associated-with-the-from-address-of-newsletter-emails/18256/2 "2020-11-14T20:22:56Z")

</div>

Let me word it clearly here. I always get emails from Apparent Blog [noreply@letter.apparent.today](mailto:noreply@letter.apparent.today).  
I was wondering whether I can change “Apparent Blog” to something other than the Title of the blog.

---

<div class="post-metadata">

**Author:** ![Dinakar](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/dinakar/32/10288_2.png) [@Dinakar](https://forum.ghost.org/u/Dinakar)\
**Post date:** [November 15, 2020, 7:20am UTC](https://forum.ghost.org/t/is-there-a-way-to-edit-the-name-associated-with-the-from-address-of-newsletter-emails/18256/3 "2020-11-15T07:20:44Z")

</div>

/var/www/ghost/config.production.json - You can access these files on your server and make the changes accordingly.

```auto
  },
  "mail": {
    "from": "'Dinakar from Coulf' <postmaster@mg.YourMailgunEmailDomain.com>",

```

This lets me send “Dinakar from Coulf” as the sender name.

---

<div class="post-metadata">

**Author:** ![mehmetalianil](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/mehmetalianil/32/10322_2.png) [@mehmetalianil](https://forum.ghost.org/u/mehmetalianil)\
**Post date:** [November 15, 2020, 11:37am UTC](https://forum.ghost.org/t/is-there-a-way-to-edit-the-name-associated-with-the-from-address-of-newsletter-emails/18256/4 "2020-11-15T11:37:25Z")

</div>

But isn’t the email configured in the json the transactional email? I am referring to the Bulk email, which is configured through the GUI, Labs-\>Members-\>Email Config.

Can I do the same thing there, by single Quoting the new name and getting the email within brackets \<\>?

---

<div class="post-metadata">

**Author:** ![akarjeker](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/akarjeker/32/8731_2.png) [@akarjeker](https://forum.ghost.org/u/akarjeker)\
**Post date:** [November 19, 2020, 8:43am UTC](https://forum.ghost.org/t/is-there-a-way-to-edit-the-name-associated-with-the-from-address-of-newsletter-emails/18256/5 "2020-11-19T08:43:48Z")

</div>

There was a whole discussion of this issue [here](https://forum.ghost.org/t/email-received-is-a-different-email-than-my-from-email-in-admin-area/15213/39). I’m not sure if it ever got resolved.

I don’t think you can single quote the name and use email in brackets in the GUI.

---

<div class="post-metadata">

**Author:** ![adventgineering](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/adventgineering/32/18252_2.png) [@adventgineering](https://forum.ghost.org/u/adventgineering)\
**Post date:** [May 16, 2021, 7:38am UTC](https://forum.ghost.org/t/is-there-a-way-to-edit-the-name-associated-with-the-from-address-of-newsletter-emails/18256/6 "2021-05-16T07:38:03Z")

</div>

This didn’t work for me - have started [a new topic here](https://forum.ghost.org/t/from-field-in-emails-not-taking-the-same-value-as-from-field-in-config-file/22773).

---

<div class="post-metadata">

**Author:** ![akarjeker](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/akarjeker/32/8731_2.png) [@akarjeker](https://forum.ghost.org/u/akarjeker)\
**Post date:** [July 28, 2021, 5:11am UTC](https://forum.ghost.org/t/is-there-a-way-to-edit-the-name-associated-with-the-from-address-of-newsletter-emails/18256/7 "2021-07-28T05:11:49Z")

</div>

I hard coded this. You want to edit line 74 in [mailgun.js](https://github.com/TryGhost/Ghost/blob/main/core/server/services/bulk-email/mailgun.js).

The original file looks like this:

```auto
messageData = {
            to: Object.keys(recipientData),
            from: message.from,
            'h:Reply-To': message.replyTo || message.reply_to,
            subject: messageContent.subject,
            html: messageContent.html,
            text: messageContent.plaintext,
            'recipient-variables': recipientData
        };

```

You want it to look like this

```auto
messageData = {
            to: Object.keys(recipientData),
            from: `"CUSTOM-FROM-NAME" <YOUREMAIL@DOMAIN.COM>`,
            'h:Reply-To': message.replyTo || message.reply_to,
            subject: messageContent.subject,
            html: messageContent.html,
            text: messageContent.plaintext,
            'recipient-variables': recipientData
        };

```

---

<div class="post-metadata">

**Author:** ![stuwest](https://avatars.discourse-cdn.com/v4/letter/s/e19b73/32.png) [@stuwest](https://forum.ghost.org/u/stuwest)\
**Post date:** [August 11, 2021, 5:36pm UTC](https://forum.ghost.org/t/is-there-a-way-to-edit-the-name-associated-with-the-from-address-of-newsletter-emails/18256/8 "2021-08-11T17:36:36Z")

</div>

I just want to add here that not being able to set a separate ‘From’ name for the newsletter out of the box sharply limits the sorts of things you can call the newsletter. For example, maybe I’m thinking of starting a site called Weird Obsessions. That’s an okay name for a blog, and if I see entries under Weird Obsessions in my feed reader I will happily read them.

If I get an email in my inbox that says it’s from Weird Obsessions rather than an actual person’s name I am just not going to want to read that message. That’s not how people relate to email. This Discourse forum is not set up that way either; if I get an email notification about a message in the forum it doesn’t show up in my inbox as a message from ‘Ghost Forum’, it’s as a message from ‘[Username] via Ghost Forum’.

---

<div class="post-metadata">

**Author:** ![adventgineering](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/adventgineering/32/18252_2.png) [@adventgineering](https://forum.ghost.org/u/adventgineering)\
**Post date:** [September 4, 2021, 11:25am UTC](https://forum.ghost.org/t/is-there-a-way-to-edit-the-name-associated-with-the-from-address-of-newsletter-emails/18256/9 "2021-09-04T11:25:28Z")

</div>

This worked for me, thanks!

---

<div class="post-metadata">

**Author:** ![sabuein](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/sabuein/32/18852_2.png) [@sabuein](https://forum.ghost.org/u/sabuein)\
**Post date:** [February 28, 2026, 12:50am UTC](https://forum.ghost.org/t/is-there-a-way-to-edit-the-name-associated-with-the-from-address-of-newsletter-emails/18256/10 "2026-02-28T00:50:27Z")

</div>

Hi all,

Adding “‘Name Name’ [noreply@email.com](mailto:noreply@email.com)” to the JSON works but in my email client, I can see the name, but not inside the view, not sure if this is an email client issue?

 ![image](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/d/6/d69255603c08149a09e0674783678b31f67698ae.png)

Any advice, please?
