Skip to content
  1. Dec 09, 2020
  2. Nov 28, 2020
  3. Nov 11, 2020
  4. Nov 09, 2020
  5. Sep 22, 2020
  6. Sep 21, 2020
  7. Sep 20, 2020
  8. Sep 14, 2020
  9. Jul 21, 2020
  10. Jun 25, 2020
  11. Nov 29, 2019
  12. Oct 16, 2019
  13. Sep 05, 2019
  14. Jul 27, 2019
  15. Jul 08, 2019
  16. Jun 28, 2019
  17. Feb 19, 2019
  18. Sep 11, 2018
  19. Apr 26, 2018
  20. Oct 26, 2017
  21. Oct 05, 2017
  22. Jun 16, 2017
  23. Jun 15, 2017
  24. May 09, 2017
  25. Mar 10, 2017
  26. Jan 19, 2017
  27. Oct 18, 2016
  28. May 27, 2016
  29. May 26, 2016
  30. May 25, 2016
  31. Apr 22, 2016
  32. Apr 21, 2016
  33. Feb 04, 2016
  34. Jan 31, 2016
  35. Sep 18, 2015
    • Till Brehm's avatar
      Fix by dirkd: Since file() doesn't remove "\n" from the lines read the... · d8faa4e7
      Till Brehm authored
      Fix by dirkd: 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
      d8faa4e7