Larasonic Demo uses Resend as our primary email provider for all transactional emails. Resend offers excellent deliverability and a modern API.

You’re free to use a different provider, check the Laravel Mail Documentation for more options.

βš™οΈ Configuration

Add these variables to your .env file:

MAIL_MAILER=resend
MAIL_FROM_ADDRESS="you@yourdomain.com"
MAIL_FROM_NAME="${APP_NAME}"
RESEND_API_KEY=re_xxxx # Get this from Resend dashboard

πŸ§ͺ Testing Emails Locally

We recommend using Mailpit for local email testing:

  1. Install Mailpit
  2. Update your .env:
MAIL_MAILER=smtp
MAIL_HOST=localhost
MAIL_PORT=1025
  1. Emails will be caught by Mailpit’s interface at http://localhost:8025

For more details, check out: πŸ“˜ Resend Documentation

For more details, check out: πŸ“— Laravel Mail Documentation