Code uploaded for checking email sending function for adding staff by admin
table names changed
code refactered for the same