Fixed an issue that apparently I thought I fixed before where I am looking at the wrong part of the Content-Disposition for the "attachment" keyword.
Pulled SQlite connection/creation code out of storage and into separate file refs #2
No longer need SQlite import in storage.go refs #2
Started support for MySQL. Also fixed case sensitive issues for MySQL. refs #2
Setting max idle and open connections for MySQL based on environment variable "max_connections". Defaults to MySQL 5 value of 151. refs #2
Config now stored db engine configuration. refs #2
Updated config interface to open/save db settings in config file. refs #2
First pass at MSSQL. No luck so far... refs #2
Took out mistaken MySQL code from the MSSQL handler
Changed auto_inc to identity for MSSQL
Ooops. Check for NULL, not NOT null
Took out a useless comment
Logging retrieval of mail items for debugging purposes
Moved var declarations out of loop
Removed defer of statement closing and am closing explicitly at end of method
Changed dateSent to VARCHAR for MSSQL. Turns out the driver will not map a DATETIME type to a string. refs #2
Fixed issue with invalid parsing on content-disposition
Added another test
Fixed bug where values were always the same when getting mails
Ran gofmt on code