func (storage *MSSQLStorage) Connect() error {
	connectionString := fmt.Sprintf("Server=%s;Port=%d;User Id=%s;Password=%s;Database=%s",
		storage.connectionInformation.Address,
		storage.connectionInformation.Port,
		storage.connectionInformation.UserName,
		storage.connectionInformation.Password,
		storage.connectionInformation.Database,
	)
	db, err := sql.Open("mssql", connectionString)
	storage.db = db
	return err
}
/*
Connect to the database
package storage
import (
	"database/sql"
	"fmt"
	"log"
	"strings"
	"github.com/adampresley/sanitizer"
	_ "github.com/denisenkom/go-mssqldb"
	"github.com/mailslurper/libmailslurper/model/attachment"
	"github.com/mailslurper/libmailslurper/model/mailitem"
	"github.com/mailslurper/libmailslurper/model/search"
)
type MSSQLStorage struct {
	connectionInformation *ConnectionInformation
	db                    *sql.DB
	xssService            sanitizer.XSSServiceProvider
}
func NewMSSQLStorage(connectionInformation *ConnectionInformation) *MSSQLStorage {
	return &MSSQLStorage{
		connectionInformation: connectionInformation,
		xssService:            sanitizer.NewXSSService(),
	}
}