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