func init() {
	processors["sql"] = func() Decorator {
		return SQL()
	}
}
----------------------------------------------------------------------------------
Processor Name: sql
----------------------------------------------------------------------------------
Description   : Saves the e.Data (email data) and e.DeliveryHeader together in sql
: using the hash generated by the "hash" processor and stored in
: e.Hashes
----------------------------------------------------------------------------------
Config Options: mail_table string - name of table for storing emails
: sql_driver string - database driver name, eg. mysql
: sql_dsn string - driver-specific data source name
: primary_mail_host string - primary host name
: sql_max_open_conns - sets the maximum number of open connections
: to the database. The default is 0 (unlimited)
: sql_max_idle_conns - sets the maximum number of connections in the
: idle connection pool. The default is 2
: sql_max_conn_lifetime - sets the maximum amount of time
: a connection may be reused
--------------:-------------------------------------------------------------------
Input         : e.Data
: e.DeliveryHeader generated by ParseHeader() processor
: e.MailFrom
: e.Subject - generated by by ParseHeader() processor
----------------------------------------------------------------------------------
Output        : Sets e.QueuedId with the first item fromHashes[0]
----------------------------------------------------------------------------------
package backends
import (
	"database/sql"
	"fmt"
	"strings"
	"time"
	"github.com/flashmob/go-guerrilla/mail"
	"math/big"
	"net"
	"runtime/debug"
	"github.com/flashmob/go-guerrilla/response"
)