Email plugin from own gmail address

you need Nodmailer
and your config:

module.exports = ({ env }) => ({
  // ...
  email: {
    config: {
      provider: 'nodemailer',
      providerOptions: {
        host: 'smtp.gmail.com',
        port: 465,
        auth: {
          user: 'gmail_username',
          pass: 'gmail_password',
        },
        // ... any custom nodemailer options
      },
      settings: {
        defaultFrom: 'username@gmail.com',
        defaultReplyTo: 'username@gmail.com',
      },
    },
  },
  // ...
});

it cant be more up to date idiot-proof

1 Like