PEAR のメール送信を実行しようとしたら、以下のエラーが発生
Error message: Assigning the return value of new by reference is deprecated
バグとして以下のように報告されてる。
http://pear.php.net/bugs/bug.php?id=12071
ここにあるとおり Mail.php を require する前に
以下を実行するとなんとかメール送信できた。
error_reporting( E_ALL & ~( E_NOTICE | E_STRICT | E_DEPRECATED ) );
require_once "Mail.php";
PHP は大嫌いである