I am trying to create a User Initiated Send definition in my Business Unit with the following code according to the wiki example: http://wiki.memberlandingpages.com/en/documentation/exacttarget/content/server_side_javascript/server_side_javascript_syntax_guide/core_library_server_side_javascript_functions/send_server_side_javascript_functions/
I am receiving an error message: "Error adding EmailSendDefinition."
var esdParams = {
"CustomerKey" : "Test",
"Name" : "Test",
"EmailSubject" : "Test"
};
Send.Definition.Add(esdParams,"Default Transactional","TestEmail",89136);
"TestEmail" = the name of my email (not sure how to retrieve the external key?)
"89136" = the ID of my list
Does anyone have any ideas or some working examples I can try?