added error pages and smtp email errors to admin