Nitty Music Social Management

Configuration

Email Notifications

How to send notifications to users

Nitty Music Social supports two email providers: Resend and NodeMailer (SMTP).

If you have an email provider configured, then new users will require activation.

EMAIL_PROVIDER: "resend|nodemailer"

You must also set the sender name and email address for all providers as follows;

EMAIL_FROM_NAME: "Nitty Music Social Emailer"
EMAIL_FROM_ADDRESS: "postiz@example.com"

Resend

Nitty Music Social uses Resend to send email notifications to users. If this key is set, users will also require activation.

1

Register on Resend

Register to Resend, and connect your domain.

2

Copy your API Key

Copy your API Key from the Resend control panel.

3

Edit your .env file

Open the .env file and edit the following line.

EMAIL_PROVIDER="resend"
RESEND_API_KEY="<your-api-key-here>"

NodeMailer (SMTP)

This is an alternative to Resend. You can use NodeMailer, which is simply a SMTP library, to connect to any SMTP server.

EMAIL_PROVIDER: "nodemailer"
EMAIL_HOST: "smtp.gmail.com" # smtp host if you choose nodemailer
EMAIL_PORT: "465" # smtp port if you choose nodemailer
EMAIL_SECURE: "true" # smtp secure if you choose nodemailer
EMAIL_USER: "user" # smtp user if you choose nodemailer
EMAIL_PASS: "pass" # smtp pass if you choose nodemailer