the first few errors are caused by having a blank space between closing php tags "?>" and opening php tags "<?php"
most likely, wwhen you pasted in the error reporting code, you either left a blank space after the closing php tag:
or you left a blank line between the closing tag and the next opening tag:
php does not like blank space between tags.
the other error is being caused by the path to pear.
make sure that the path to pear you enter in the pear mail settings includes a trailing slash. For example, if your host has pear installed at:
you need to include an ending slash:
check woth your host for the correct path to use.