Does anyone know if it it possible to trap errors/warnings returned by mail() in PHP4? At the moment the following text is displayed at the top of my web page which does not look very good?
Warning: mail(): Failed to connect to mailserver at "broken.smtp.test" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
TIA



Print Thread
KR1