Gmail as SMTP for Sending out Subscription and Login Emails

Latest version.

Can anyone please clarify this for me as I must be confused… ?
I don’t use the newsletter and therefore, I don’t use the MailGun setup.

I have edited the config.production.json file to include the SMTP for sending emails using Gmail. This is the file code for that:

  "mail": {
    "transport": "SMTP",
    "options": {
      "service": "Gmail",
      "from": "'name' <gmail@gmail.com>",
      "host": "smtp.gmail.com",
      "port": 465,
      "secureConnection": true,
      "auth": {
        "user": "gmail@gmail.com",
        "pass": "mypassword"
      }
    }

Am I missing something here? No emails are coming through.

Supposing what you’re trying is even possible, might this be one of those cases where you have to turn on the “allow less secure apps” functionality?

https://support.google.com/accounts/answer/6010255?hl=en

Yep, might be. But I have that turned on. From what I understand, we should be able to use any IMAP / SMTP email to send transactional emails, right? Not bulk, just transactional.