SMTP server now able to work with MySQL database