import { registerAs } from '@nestjs/config';

export default registerAs('mail', () => ({
  host: 'email-smtp.us-east-2.amazonaws.com',
  port: 587,
  secure: false,
  auth: {
    user: process.env.AMAZON_USER,
    pass: process.env.AMAZON_PASSWORD,
  },
  defaults: {
    from: '"No Reply" <noreply@example.com>',
  },
}));
