So I thought since CF11 allows the use of script tags that maybe I had a work around for the Update 3 bug. I rewrote my code as shown below but I still get the issue with the file being empty.

 

function elasticEmail2(event,rc)

{

 

cfhttp(result = "LOCAL.result",method = "put",

        url = "https://api.elasticemail.com/attachments/upload?username=no-reply@nations-baseball.com&api_key=removed&file=EGTest",

        getAsBinary = "yes")

        {

        cfhttpParam(type = "file",name="EGTest",file="c:\somefolder\test.csv",mimetype="Content-type: text/csv");

        cfhttpParam(type="formfield",name="username",value="no-reply@nations-baseball.com");

        cfhttpParam(type="formfield",name="api_key",value="removed");

        cfhttpParam(type="formfield",name="filename",value="EGTest");

        } 

        

  cfhttp(result = "LOCAL.result2",method = "post",

        url = "https://api.elasticemail.com/mailer/send")

        {

         cfhttpParam(type="formfield",name="username",value="no-reply@nations-baseball.com");

         cfhttpParam(type="formfield",name="api_key",value="removed");

         cfhttpParam(type="formfield",name="subject",value="Test");

         cfhttpParam(type="formfield",name="data_source",value="EGTest");

         cfhttpParam(type="formfield",name="template",value="BlankTemplate");

        } 

writedump(LOCAL);abort;  

   

}

 

Bug filed here:

https://bugbase.adobe.com/index.cfm?event=bug&id=3940770