Skip to content
  1. Nov 11, 2020
  2. Nov 09, 2020
  3. Sep 22, 2020
  4. Sep 21, 2020
  5. Sep 20, 2020
  6. Sep 14, 2020
  7. Jul 21, 2020
  8. Jun 25, 2020
  9. Nov 29, 2019
  10. Oct 16, 2019
  11. Sep 05, 2019
  12. Jul 27, 2019
  13. Jul 08, 2019
  14. Jun 28, 2019
  15. Feb 19, 2019
  16. Sep 11, 2018
  17. Apr 26, 2018
  18. Oct 26, 2017
  19. Oct 05, 2017
  20. Jun 16, 2017
  21. Jun 15, 2017
  22. May 09, 2017
  23. Mar 10, 2017
  24. Jan 19, 2017
  25. Oct 18, 2016
  26. May 27, 2016
  27. May 26, 2016
  28. May 25, 2016
  29. Apr 22, 2016
  30. Apr 21, 2016
  31. Feb 04, 2016
  32. Jan 31, 2016
  33. 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
  34. May 26, 2015
  35. May 06, 2015