mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #05565
[Bug 823058] [NEW] PHPMailer causes "headers sent" errors when given invalid addresses
Public bug reported:
When a bad address is passed to PHPMailer, it produces output. When
output_buffering is off in php.ini, a subsequent mahara redirect() call
produces an unnecessary big red "Something bad happened after headers
were sent" message. We should turn exceptions on in phpmailer, and
catch them, to stop phpmailer from outputting its error messages. Then
we can keep the "headers sent" messages for when we really need them.
** Affects: mahara
Importance: Low
Assignee: Richard Mansfield (richard-mansfield)
Status: Confirmed
** Changed in: mahara
Status: New => Confirmed
** Changed in: mahara
Importance: Undecided => Low
** Changed in: mahara
Assignee: (unassigned) => Richard Mansfield (richard-mansfield)
** Changed in: mahara
Milestone: None => 1.5.0
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/823058
Title:
PHPMailer causes "headers sent" errors when given invalid addresses
Status in Mahara ePortfolio:
Confirmed
Bug description:
When a bad address is passed to PHPMailer, it produces output. When
output_buffering is off in php.ini, a subsequent mahara redirect()
call produces an unnecessary big red "Something bad happened after
headers were sent" message. We should turn exceptions on in
phpmailer, and catch them, to stop phpmailer from outputting its error
messages. Then we can keep the "headers sent" messages for when we
really need them.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/823058/+subscriptions
Follow ups
References