add attachment param item in nSendMail()
change for test
the dir is wrong, fixed