         var bcc: [String]?
         var replyto: String?
         var attachments: [String:NSData]?
+        var content: [String:String]?
         
         let smtpapi = SmtpApi()
         var hasRecipientsInSmtpApi = true

            self.addHeaders(keyValuePairs)
        }
        
        func addAttachment(filename: String, data: NSData) {
            if self.attachments == nil {
                self.attachments = [filename: data]
            } else {
                self.attachments![filename] = data
            }
        }
    }
}
            }
        }
        
        if let cids = email.content {
            for (filename, id) in cids {
                addBoundary()
                addDisposition(param: "content[\(filename)]", filename: nil)
                addParamValue(value: id)
            }
        }
        
        if let files = email.attachments {
            for (file, data) in files {
                addBoundary()
                addDisposition(param: "files[\(file)]", filename: file)
                if let data = "Content-Type: application/octet-stream\r\n\r\n".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false) {
                    body.appendData(data)
                }
                body.appendData(data)
            }
        }
        
        if let data = "--\(boundary)--\r\n".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false) {
            body.appendData(data)
        }
        
        //println(NSString(data: body, encoding: NSUTF8StringEncoding)!)
        
        request.HTTPBody = body
        let queue:NSOperationQueue = NSOperationQueue()
