bueltge / BambooInvoice

BambooInvoice is free Open Source invoicing software intended for small businesses and independent contractors. Built on CodeIgniter, its priorities are ease of use, user-interface, and beautiful code.
http://bambooinvoice.org
10 stars 6 forks source link

Mail() Error with Update of PHP versions. #1

Open bueltge opened 9 years ago

bueltge commented 9 years ago
A PHP Error was encountered
Severity: Warning
Message: mail(): Multiple or malformed newlines found in additional_header
Filename: libraries/Email.php
Line Number: 1519
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /www/.../bamboo_system_files/libraries/Exceptions.php:166)
Filename: libraries/Session.php
Line Number: 662
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /www/.../bamboo_system_files/libraries/Exceptions.php:166)
Filename: helpers/url_helper.php
Line Number: 541

PHP Version

bueltge commented 7 years ago

We should try to change the newline var to \n\n. https://github.com/bueltge/BambooInvoice/blob/master/bamboo_system_files/libraries/Email.php#L47