Tag Archive for ExactTarget

Evaluating AMPScript in a Triggered Send

ExactTarget has a very robust Triggered Send functionality available to its users. It allows users to simply trigger a static email, pass in dynamic fields to the email, or pass in the entire HTML content block. Taking things further some users wish to send in the entire HTML content block with ExactTargets dynamic scripting included. Now, this poses an immediate…

Creating A User-Initiated Send in ExactTarget via the SOAP API in PHP

The following example shows how to create a User-Initiated Send Definition in your ExactTarget account using the SOAP API and PHP. More specifically it shows how to create a send definition with a Data Extension as opposed to List. Additional options are available for exclusion lists, but I didn’t use them in this code sample. $wsdl = ‘https://webservice.exacttarget.com/etframework.wsdl’; /* Create…

Delete Subscriber From List in ExactTarget

$wsdl = ‘https://webservice.s6.exacttarget.com/etframework.wsdl’; $client = new ExactTargetSoapClient($wsdl, array(‘trace’ => 1)); $client->username = ‘username’; $client->password = ‘password’; $sub = new ExactTarget_Subscriber(); $sub->EmailAddress = ‘bill@msn.com’; $subList = new ExactTarget_SubscriberList(); $subList->ID = 11902; $subList->Status = ExactTarget_SubscriberStatus::Active; $subList->Action = “delete”; $sub->Lists = array($subList); $object = new SoapVar($sub, SOAP_ENC_OBJECT, ‘Subscriber’, “http://exacttarget.com/wsdl/partnerAPI”); $request = new ExactTarget_UpdateRequest(); $request->Options = NULL; $request->Objects = array($object); $results = $client->Update($request);

AMPScript Language Module For TextWrangler

I’ve created a language module for TextWrangler/BBedit which has been made available for public download on Github. Currently, it will highlight all AMPScript functions and reserved words. Future upgrades look to add complete function Intellisense and function documentation. Download it here! In case you don’t have TextWrangler you can download it here. And, for reference, check out AMPScript.

Using the Lookup Function In AMPScript

I would like to start by saying that AMPScript is a very powerful tool to use when creating dynamic emails within ExactTarget. It is well documented and has a diverse range of functionality to do the very simplest tasks to the most complex. One of the most common uses is to access data within Data Extensions for creating dynamic content…