mail.php 684 B

12345678910111213141516
  1. <?php
  2. /**
  3. * config/mail.php
  4. *
  5. * SMTP configuration for PHPMailer.
  6. * Fill in your mail server credentials here (or move to .env).
  7. */
  8. define('MAIL_HOST', 'smtp.example.com'); // SMTP server
  9. define('MAIL_PORT', 587); // 587 = STARTTLS, 465 = SSL
  10. define('MAIL_ENCRYPTION', 'tls'); // 'tls' or 'ssl'
  11. define('MAIL_USERNAME', 'hello@cropmonitor.com.au');
  12. define('MAIL_PASSWORD', ''); // Fill in SMTP password
  13. define('MAIL_FROM', 'hello@cropmonitor.com.au');
  14. define('MAIL_FROM_NAME', 'Crop Monitor');
  15. define('MAIL_TO', 'hello@cropmonitor.com.au'); // Inbox that receives contact submissions