wiresafe / wiresafe-deploy

Deployment scripts, Docker, Kubernetes, etc... for Wiresafe projects
0 stars 0 forks source link

confirm identity server invitations work with send-grid #3

Closed dduran1967 closed 6 years ago

dduran1967 commented 7 years ago

Please verify that the integration server will send through send grid.

maxidorius commented 7 years ago

We'll need to investigate how to make this work. This can range from a simple configuration change to refactoring code to integrate custom API. Can't accurately estimate workload due to prior investigation, but could easily be some hours of dev.

dduran1967 commented 7 years ago

I will test this with send-grid.

maxidorius commented 7 years ago

See https://support.google.com/a/answer/2956491 for a possible easy fix

dduran1967 commented 7 years ago

or find an alternative solution.

dduran1967 commented 7 years ago

SMTP Relay / Send Grid

maxidorius commented 6 years ago

done using https://github.com/kamax-io/mxisd/commit/f3bbc7c7c6493a4d444e167867d2d042fce0d01d as base for matrix-identity image and the configuration snippet:

{
...
  "notification": {
    "handler": {
      "email": "sendgrid"
    },
    "handlers": {
      "sendgrid": {
        "api": {
          "key": "<api key>"
        },
        "identity": {
          "from": "WireSafe",
          "name": "noreply@wiresafe.com"
        },
        "templates": {
          "invite": {
            "subject": "You have been invited to WireSafe",
            "body": {
              "text": "/etc/mxisd/email-invite-template.txt",
              "html": "/etc/mxisd/email-invite-template.html"
            }
          }
        }
      }
    }
  }
...
}