Email Received is a different email than my "From" email in Admin Area

It would be really helpful for everyone if you could’ve filled in the initial template that’s given when creating a new topic. Here’s the questions again:

  • What’s your URL?
  • What version of Ghost are you using?
  • What configuration?
  • What browser?
  • What errors or information do you see in the console?
  • What steps could someone else take to reproduce the issue you’re having?

Thanks! :blush:

My issue is kinda really specific. I’m trying to set up Maligun to work so I can send newsletters out but as the other posts have mentioned, the From address in the email is formatted very strangely and it’s doing it for every From address

I changed the From address in the dashboard to a personal Gmail account and it still did the strange formatting (see the pictures in the thread) and now will not let me change the From address in the dashboard back to what it originally was, noreply@n0sec.tech

I have configured my JSON file to what it needs to be, set up my DNS according to all documentation, checked propogation, added my Mailgun API key, and done all the steps necessary to set this up and it does work but now I have two main issues:

  1. I cannot save a different From address in the dashboard

  2. That From address gets formatted like you’ve seen in the pictures already attached to this thread

This is extremely frustrating as one user here as indicated it should not be doing this at all.

Thank you for your help.

The JSON config file, you mentioned a portion of it in a previous comment :slight_smile:

Ah okay!

Here it is.

I’m still having issues with this. This is not resolved. Can anybody assist please?

From the looks of your config file you’re still missing the from value. The from value is the from address for all of your transactional emails, you can read more about how to implement it here:

Try to use a real, working email address as this greatly improves delivery rates for important emails. You’ll need to run ghost restart to apply the new configuration options.

Additionally you can set a custom email for members newsletters, which can be done in the members settings and needs to be verified with a confirmation email.

Hope this helps!

1 Like

Would I be able to buy an email mailbox from my domain registrar and use that email in the JSON config file? Then would I be able to do something like noreply@n0sec.tech in the dashboard? Ever time I change the email in the dashboard though, it sends an email out to confirm it and I can’t do that because I don’t have a noreply@n0sec.tech email address. Nor do I really know how to go about getting one.

If the from in both places needs to be real then what’s the point of even using Mailgun? I can’t receive emails there so I might as well just buy an email and use that, no? Am I going about this wrong?

Mailgun is a service designed for sending bulk emails, not an inbox tool. You should really create your email for real so it can be validated and optionally receive emails from your members. You can most likely set up a new email account with your domain provider

Has this issue been solved? I have the exact same problem and I cannot figure out what’s wrong. I run a self-hosted newsletter on DigitalOcean. I’d like to see the from address in my email client to be just “Sunday MashUp me@martinverbic.com” or something similar.

Some of my data:

My config.production.json file:

What I get when test sending an email:

What my Labs settings look like:

DNS settings are all properly propagated.

1 Like

No, it was never solved lol.

1 Like

Is it solvable? Would be really nice if someone from Team Ghost told us :stuck_out_tongue:

Glad to hear I’m not the only one running into this issue. I’ve been trying to get this resolved for a while. I’ve played with the JSON config file and it just doesn’t seem to be passing that from parameter to the Mailgun API.

3 Likes

I also noticed this is also the case when Ghost send their Publisher Weekly newsletter. The same goes for The Listener.

So this is probably the way it’s supposed to be, but doesn’t seem to hurt delieverability etc.

@martinverbic - anecdotally, I think it hurts my delivery in the sense that I’ve had family and friends say they didn’t realize it was me vs the brand. Though you’re right, it does get to the inbox.

1 Like

The problem in my case was an incorrect password in my config.production.json. After resetting the password in my Mailgun dashboard and restarting ghost, everything works fine.

You can try zohomail which has a forever free plan that works for me. However, I’ve not been able to figure out the name issue.

If you’re talking about the config file issue still, you can try smtp.eu.mailgun.org instead of smtp if you’re on the EU server.

1 Like

you can set a custom email for members newsletters, which can be done in the members settings and needs to be verified with a confirmation email

Unfortunately, this feature does not seem to exist in the member settings anymore :tired_face: Any idea how to set the “from” email address for bulk emails otherwise (do I need the config?)?

I guess it’s moved, head to Settings > Email newsletter and hit the green “Customise” button. There’s a sidebar option called “Email addresses”

Thanks! There isn’t a Customise for me but I could find the relevant feature through Kym’s help by clicking on the newsletter in the latest (5.8.1) Ghost version Changing the "from" in newsletter emails - #8 by Kym

1 Like

The OP problem is likely related to a mismatch between the domain used in the from address and the sending domain set in Mailgun, e.g. using a subdomain like “mail.” as suggested by Mailguns docs in Mailgun but not in the from address. For more information and other possible reasons (DKIM) see https://help.mailgun.com/hc/en-us/articles/360012491394-Why-Do-I-See-On-Behalf-Of-in-My-Email-