Fix bug in smtpClient
Fix bug in smtpClient