Test for send mail.