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