📧

# Email & SMS Setup

Configure SMTP, SendGrid, Twilio for notifications

Need Help?

For additional support, visit our Support Center

## SMTP Email Configuration

### SMTP Settings

#### Email Server Configuration

`SMTP_HOST="smtp.gmail.com" SMTP_PORT="587" SMTP_USER="your-email@gmail.com" SMTP_PASSWORD="your-app-password" SMTP_FROM_NAME="Bicrypto" SMTP_FROM_EMAIL="noreply@yourdomain.com"`

Configure your SMTP server for sending emails.

## SendGrid Email Service

### SendGrid API Setup

#### SendGrid Configuration

`SENDGRID_API_KEY="SG.your_sendgrid_api_key" SENDGRID_FROM_EMAIL="noreply@yourdomain.com" SENDGRID_FROM_NAME="Bicrypto Platform"`

## Twilio SMS Service

### SMS Configuration

#### Twilio Settings

`TWILIO_ACCOUNT_SID="your_account_sid" TWILIO_AUTH_TOKEN="your_auth_token" TWILIO_PHONE_NUMBER="+1234567890"`

Configure SMS notifications and 2FA codes.

## Restart Development Server

### Apply Email & SMS Configuration

After configuring email and SMS settings, restart the development server:

Important

Email and SMS configuration changes require a server restart to take effect.

#### 1. Stop the current server

Press `Ctrl + C` in your terminal

#### 2. Start the development server

`pnpm dev`

This will restart the server with your new email and SMS configuration.