I am trying to create a new email using FuelSDK php.
It create email successfully and return correct ID for that, but it always created in top folder i:e "My Emails" whereas I am passing CategoryID => "????".
I have seen some examples in help where CategoryID passed as Integer e:g "CategoryID" => 1234, how I can get the ID of the folder to pass in my code ? because when I see properties of folder I see only Name, Owner, Created and Last Modified values and there is no key or id.
$postEmail->props = array("CustomerKey" => $NameOfEmail, "Name"=>$NameOfEmail, "Subject"=>$SubjectOfEmail, "HTMLBody"=> $returned_content, "EmailType" => "HTML", "IsHTMLPaste" => "true", "CategoryID" => "MyNewFolder");
Regards,