mail.conf.dist.php 927 B

1234567891011121314151617181920
  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
  18. $platform_email['SMTP_DEBUG'] = 0; // change to 1 to enable smtp debug
  19. $platform_email['SMTP_SECURE'] = 'tls'; // if you're using SSL: ssl; or TLS: tls. (only used if SMTP_AUTH==1)