Implement PDO, sendmail check, move sendmail to function
Implement PDO, sendmail check, move sendmail to function

Implemented PDO. There was no check to see if sendmail was true or false
(in case it was turned off), sendmail is now moved to a function.

smashedbotatos/WhitelistSystem