mail add log

add log when send mail success or fail
add example project error page

add example project error page, 500、404