Skip to content
  1. Sep 18, 2015
    • Dirk Dankhoff's avatar
      Fix notification mail template header-body splitting · 2110eb58
      Dirk Dankhoff authored
      Since file() doesn't remove "\n" from the lines read the condition
      `$lines[$l] == ''` never evaluated to true.
      So $mailHeaders would always contain every line from the template while
      $mailBody contained none of them.
      
      Together with the bugfix of PHP#68776 [1] disallowing multiple "\n"'s &
      preceding "\n" in mail()'s $additionalHeaders arg this caused mails not
      being sent because $mailHeaders would include at least one "\n\n" which
      was meant to separate the mail headers from the body.
      
      [1] https://bugs.php.net/bug.php?id=68776
      2110eb58
  2. Jun 30, 2015
  3. Jun 24, 2015
  4. Jun 23, 2015
  5. Jun 17, 2015
  6. Jun 15, 2015
  7. Jun 05, 2015
  8. Jun 04, 2015
  9. Jun 03, 2015
  10. May 26, 2015
  11. May 21, 2015
  12. May 07, 2015
  13. May 06, 2015
  14. Apr 26, 2015
  15. Apr 17, 2015
  16. Jan 22, 2015
  17. Jan 09, 2015
  18. Jan 08, 2015
  19. Dec 04, 2014
  20. Nov 16, 2014
  21. Nov 06, 2014
  22. Nov 03, 2014
  23. Oct 29, 2014