Configure SMTP for outbound emails

Configure the email settings in the /opt/bitnami/apps/ghost/htdocs/config.production.json file by adding the code below just after the database section. Here’s an example using Gmail. Replace USERNAME and PASSWORD with your Gmail account username and password respectively.

mail: {
    from: '',
    transport: 'SMTP',
    host: '',
    options: {
        service: 'Gmail',
        port: 465,
    secure: true, // use SSL
        auth: {
            user: '',
            pass: 'PASSWORD'

Then, restart all services for changes to take effect:

$ sudo /opt/bitnami/ restart ghost
$ sudo /opt/bitnami/ restart apache

To configure the application to use the SMTP service provided by Amazon Simple Email Service (SES), refer to the guide on using Amazon SES.

To configure the application to use other third-party SMTP services for outgoing email, such as SendGrid or Mandrill, refer to the FAQ.

NOTE: If you are using Gmail as the outbound email server and have experienced issues trying to send emails correctly, check the Gmail SMTP troubleshooting page to learn the causes of these issues and how to solve them.