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