mail function can send multi mails