mail.conf.dist.php 1.0 KB

12345678910111213141516171819202122
  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'] = 'mail'; // mail, sendmail or smtp (Windows probably only supports 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)
  20. $platform_email['SMTP_UNIQUE_REPLY_TO'] = 0; // to use AWS SMS service, SMTP_UNIQUE_SENDER and this have to be = 1