#System email provider?

1 messages · Page 1 of 1 (latest)

lyric narwhal
#

Hi team,

I'm trying to find out what to configure to allow novu to send 'system' emails - eg the email invite for new users.

Checking the logs, i've seen log lines of "API key does not start with "SG." which I assume are relating to sendgrid API keys.

I've found reference to SENDGRID_API_KEY with the description 'The api key of the Sendgrid account used to send various emails' in the run novu locally documentation, and i've set an API key up in the environment and added it to my docker-compose however this hasn't fixed the issue.

When clicking re-send for invites, i'm seeing a 401 logged as per attached screenshot.

I've confirmed the API key works manually, is there any way to get further logging enabled to see what's going on / am i even setting the right config?

Bonus question - assuming this is the right config, how do i set a from address for system emails? Obviously in this day and age we need to make sure that everything is coming from an expected address with SPF/DKIM/etc setup.

deep crane
#

<@&943775970421264404>
Can you please help for Sendgrid api key value for member invite option?

stiff trellis
#

Hey @lyric narwhal unfortunately at the moment we do not support invites with SendGrid, if you self host the project please make sure that you add REACT_APP_DOCKER_HOSTED_ENV to 'true' on the web project, this way you will be able to send the invite that generated on the client through your mail client. or by coping the invite and sending it to the new member.

lyric narwhal
#

@stiff trellis thanks for the info

we did already have REACT_APP_DOCKER_HOSTED_ENV set to true on the web env as per the docker-compose we downloaded

i'm slightly confused by what the SENDGRID_API_KEY is actually used for then if not for system emails as it was logging errors relating to it not being set?

given that obviously something is meant to send out system emails, is there a different set of config again we should be setting up or is it just not yet supported for the self-hosted option?

late nacelle
#

@lyric narwhal SENDGRID_API_KEY is a deprecated key not used any more. The self-hosted version of novu does not send any system email at this point.

lyric narwhal
#

ok, thanks for the info

opaque silo
#

Hi @late nacelle following up on this.
Does this mean when hosting Novu locally, there is no option to configure SMTP for system emails?

weak plume