Getting error code: 711 - Invalid folder type for email
I'm trying to send an email using the API, following this tutorial. I've got all the details ok, but I'm having an issue where I get response code 711, message: Invalid folder type for email. I'm not sure what this means as I'm using a folder - as described in the tutorial - and an email template (although I have a program inside the folder, but I'm told that I can't create an email without a program).
Any ideas of what am I missing?
Thanks!