mail.conf.dist.php 747 B

12345678910111213141516171819
  1. <?php
  2. /**
  3. * This file holds the configuration settings
  4. * for phpmailer Class.
  5. *
  6. * @package chamilo.configuration
  7. */
  8. $platform_email['SMTP_FROM_EMAIL'] = (isset($administrator['email']) ? $administrator['email'] : 'admin@example.com');
  9. $platform_email['SMTP_FROM_NAME'] = (isset($administrator['name']) ? $administrator['name'] : 'Admin');
  10. $platform_email['SMTP_HOST'] = 'localhost';
  11. $platform_email['SMTP_PORT'] = 25;
  12. $platform_email['SMTP_MAILER'] = IS_WINDOWS_OS ? 'smtp' : 'mail'; // mail, sendmail or smtp
  13. $platform_email['SMTP_AUTH'] = 0;
  14. $platform_email['SMTP_USER'] = '';
  15. $platform_email['SMTP_PASS'] = '';
  16. $platform_email['SMTP_CHARSET'] = 'UTF-8';
  17. $platform_email['SMTP_UNIQUE_SENDER'] = 0; // to send all mails from the same user