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