TryGhost / Ghost

Independent technology for modern publishing, memberships, subscriptions and newsletters.

Home Page:https://ghost.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

It is not possible to configure the email if the Newsletter is deactivated

opened this issue · comments

Issue Summary

I have installed a self-hosted version of Ghost, and I am not interested in sending Newsletter or third parties being able to subscribe, so I have deactivated these options in the administration panel.
By disabling these options I can no longer find the option to configure email (SMTP) and I need it, for example, to recover a lost password to access the administration panel

Steps to Reproduce

  1. I expected to have a section in the administration panel to insert the SMTP server data
  2. Another option would be to specify the configuration in the docker envoirment
  3. Once the configuration is inserted, if I lose access to the administration area, I could click on "forgot" on the login page and receive a link to restore my lost password

Ghost Version

5,78

Node.js Version

I'm not sure

How did you install Ghost?

Docker-compose.yml

Database type

MySQL 5.7

Browser & OS version

Client: Safari MacOS

Relevant log / error output

No response

Code of Conduct

  • I agree to be friendly and polite to people in this repository
commented

Hey, thank you for raising the issue and apologies for the late reply.

To send transactional emails, there is no need for the Newsletter feature to be activated. The SMTP settings can be added to Ghost via the config file config.production.json, as explained in the public documentation: https://ghost.org/docs/config/#mail

For example, with Mailgun:

// config.production.json

"mail": {
  "from": "hello@james.com",
  "transport": "SMTP",
  "options": {
    "service": "Mailgun",
    "auth": {
      "user": "postmaster@example.mailgun.org",
      "pass": "1234567890"
    }
  }
},

After doing so, if a staff member forgets their password, they can click on "Forgot" on the login screen and will receive a password reset email.

Hope this helps!