Home / taxonomy / term / PHP / PHP / PHP

PHP

0 points
dkch98's picture

I want to send mails through single list every week. html mail and text mail both. It is possible to create one list like "12548" and add the different user like "abc@gmail.com","xys@yahoo.com", and more. Sent the one html newsletter for one user. means different user for different html newsletter. Also sent me process with fuel sdk (php).

Dynamic html mail process through single list with exact target fuel sdk

0 points
dkch98's picture

I want to send mails through single list every week. html mail and text mail both. It is possible to create one list like "12548" and add the different user like "abc@gmail.com","xys@yahoo.com", and more. Sent the one html newsletter for one user. means different user for different html newsletter. Also sent me process with fuel sdk (php).

Dynamic html mail process through single list with exact target fuel sdk

0 points
dkch98's picture

Hi,

I want to sent a mail through single list every week.html mail and text mail both.

It is possible to create one list like "12548" and add the different user like "abc@gmail.com","xys@yahoo.com", - - - -more.

Sent the one html newsletter for one user. means different user for different html newsletter.

Also sent me process with fuel sdk (php)

Any help is very much appreciated.

 

 

Dynamic html mail process through single list.

0 points
avinash's picture

We are creating a subscriber list with the help of PHP Fuel SDK(dot9).

Here is the sample code below: 

require('ET_Client.php');

$myclient = new ET_Client();

$list = new ET_List();

$list->authStub = $myclient;

$list->props = array("ListName" => "SDKList", "Description" => "SDK Created List");

$results = $list->post();

print_r($results);

And getting the response like :

ET_Post Object

Why I am getting the response like Message: q0:InvalidSecurityToken An invalid security token was provided) ?

998 points
leo's picture

I am using fuelSDK of php, that's ok to create a row each time in a specific data extension.

However when i want to add more than one row in a call , it fails and return error so i dont know whether my syntax is correct.

 

Does the FuelSDK supports creation of multiply rows in one single api call?

 

My demo code:

Cannot create few data extension rows in one call

998 points
leo's picture

I found that the first connection always take ~ 5 seconds for each call.

Even i have already cached the ET_Client to prevent it refresh token every time, in each page, if there are 2-3 calls together, the response time becomes significantly slow.

When comparing to mailchimp, mailchimp API seems much faster, so i am getting frustrated that moving to ExactTarget but with worse performance.

Is there any ways to optimize the FuelSDK?

is it normal that FuelSDK for php takes long time to response?

 

Leo

is it normal that FuelSDK for php takes ~5 seconds for each call?

1278 points
jragsdale@exacttarget.com's picture

HI Guys,

Doing a retrieve from a DE returns an slightly annoying structure of data, results->Properties->Property[index of property].... It's does not seem to be object based so is difficult to work with on the web.

I have constructed a method to put the results into a more friendly format but it involves nested loops which could be costly if there were a great number of rows and columns...

Is there a better way?

PHP Fuel, is there a better way to retrieve rows from a DE?

1278 points
jragsdale@exacttarget.com's picture

Hi All,

Trying to write an App that will be creating DE's as well as Creating \ Running Query Activities and do not see any refreences to the Query Activity in the ET_Client.php file.

I see htem in the SOAP version exacttarget_soap_clinet.php but was hoping not to have to use that one.

Can anyone provide a sample of how to create & run a query using the FuelSDK?

Thanks

 

 

Is there support for Queryactivities in the FuelSDK for PHP?