Enable email service to activate in-app email notifications, self-service password reset, and other features. Configure the following environment variables according to your email service provider’s information.
# How to obtain: Login to AWS Console → Simple Email Service → SMTP Settings → Create SMTP CredentialsBACKEND_MAIL_HOST=email-smtp.us-east-1.amazonaws.com # Replace with your regionBACKEND_MAIL_PORT=465BACKEND_MAIL_SECURE=trueBACKEND_MAIL_SENDER=noreply@yourdomain.com # Must be a verified sender addressBACKEND_MAIL_SENDER_NAME=System NotificationBACKEND_MAIL_AUTH_USER=your_smtp_username # AWS SMTP usernameBACKEND_MAIL_AUTH_PASS=xxxxxxxxxxxxxx # AWS SMTP password
# How to obtain: Microsoft 365 admin center → Security → Policies & rules → Email authenticationBACKEND_MAIL_HOST=smtp.office365.comBACKEND_MAIL_PORT=587BACKEND_MAIL_SECURE=trueBACKEND_MAIL_SENDER=your.name@yourdomain.comBACKEND_MAIL_SENDER_NAME=System NotificationBACKEND_MAIL_AUTH_USER=your.name@yourdomain.comBACKEND_MAIL_AUTH_PASS=xxxxxxxxxxxxxx # Your Microsoft 365 password or app password if MFA is enabled
# How to obtain: SendGrid Dashboard → Settings → API Keys → Create API KeyBACKEND_MAIL_HOST=smtp.sendgrid.netBACKEND_MAIL_PORT=465BACKEND_MAIL_SECURE=trueBACKEND_MAIL_SENDER=noreply@yourdomain.comBACKEND_MAIL_SENDER_NAME=System NotificationBACKEND_MAIL_AUTH_USER=apikeyBACKEND_MAIL_AUTH_PASS=xxxxxxxxxxxxxx # Your SendGrid API Key