Can anybody advise what is email ID (email->ID) here in below code ? I didn't understand what this is and why we require this ? Where do we find this value ? can we find these in marketing cloud admin.

$email = new ExactTarget_Email();
$email->ID = "12345";$emailSendDef->Email = $email;

Along with that where we can find the list id in the below code ?

$sendDefList = new ExactTarget_SendDefinitionList();
$list = new ExactTarget_List();$list->ID = "12345";

And CustomerKey,Name

$emailSendDef = new ExactTarget_EmailSendDefinition();
$emailSendDef->CustomerKey = "12345";
$emailSendDef->Name = "test";

The listID is can be found on in the properties of the publication list used for the send. This usually defaults to the All Subscribers List. To access this ,

  • Navigate to Email Studio > Subscribers > All Susbcribers List
  • Click on Properties
  • The List Id should be visible here

enter image description here

The customer key for the send definition can be can also be retrieved in a similar manner.

  • Navivgate to Email Studio > Interactions > Triggered Emails
  • Your Customer Key is your External Key.

You can also access these via API. enter image description here

  • thank u kid, i need a small clarification regarding the list id,whether we have to use Publication List Id or All Susbcribers List Id
    – eswar
    Jun 19 '18 at 13:11
  • If you want to send off a particular publication list, then it would be the publication list id, otherwise default to the all subscribers list Jun 19 '18 at 13:24
  • thank u kid.i need to send only to one subscriber then can i go with publication list.
    – eswar
    Jun 19 '18 at 13:36
  • You can use the AllSubscribersList. It will only send to the person you have sent to Jun 19 '18 at 13:54
  • thank u kid,but regarding email id where can i find it.
    – eswar
    Jun 19 '18 at 14:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.