     var fromname: String?
     var text: String?
     var html: String?
-    var headers = []
+    var headers: [String:String]?
     var cc: [String]?
     var bcc: [String]?
     var replyto: String?

        addToParamsIfPresent("cc", self.cc)
        addToParamsIfPresent("bcc", self.bcc)
        addToParamsIfPresent("replyto", self.replyto)
        
        var body = ""
        for (paramName, paramValue) in params {
            if let arr = paramValue as? [String] {
                for value in arr {
                    if let encoded = value.stringByAddingPercentEscapesUsingEncoding(NSUTF8StringEncoding) {
                        if countElements(body) > 0 { body += "&" }

        
        request.HTTPBody = body.dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)
        let queue:NSOperationQueue = NSOperationQueue()
        //        NSURLConnection.sendAsynchronousRequest(request, queue: queue) { (response, data, error) -> Void in
        //            if let handler = completionHandler {
        //                handler(response, data, error)
        //            }
        //        }
    }
}