Good %%[ VAR @fName, @FN_Trim, @FN_PC Set @fName = [First Name] If not empty(@fname) then ( Set @FN_Trim = Trim(@fName) Set @FN_PC =
Read moreAMPScript functions
System variables: Unique JobID for email send = %%JobID%% Email name = %%emailName_%% Subscriber email address = %%emailaddr%% View online = %%view_email_url%% Forward to a
Read moreHidden preheader text
<div style="display: none; visibility: hidden; mso-hide: all; opacity: 0; color: transparent; height: 0; width: 0; line-height: 0; overflow: hidden;"> PREHEADER TEXT GOES HERE
Read moreButtons
Button <table border="0" width="600" cellspacing="0" cellpadding="0" align="center"> <tbody> <tr> <td style="font-size: 15px; line-height: 15px;" height="15"></td> </tr> <tr> <td> <table style="background-color: #019b5f; border: 10px solid #019b5f;
Read moreEmail-safe fonts
font-family: Arial, Helvetica, sans-serif; font-family: Georgia, serif; font-family: ‘Palatino Linotype’, ‘Book Antiqua’, Palatino, serif; font-family: ‘Times New Roman’, Times, serif; font-family: ‘Arial Black’, Gadget, sans-serif;
Read moreGood Morning/Afternoon AMPScript
The datediff() function is your friend. It’s pretty tolerant to all kinds of dates and times. You can comment/uncomment the set @now lines to suit
Read moreSpacer row
<tr> <td height="15" style="font-size: 15px; mso-line-height-rule: exactly; line-height: 15px;"> </td> </tr>
Read moreHow to Include an RSS Feed in an Email Message using AMPscript
This document contains conceptual, procedural and scenario information about including RSS feeds in the content of an email message. You can use AMPscript to pull
Read moreRetrieve Subscriber via SOAP API & PHP
<?php function hexToStr($hex) { $string = ”; for ($i = 0; $i < strlen($hex) – 1; $i+= 2)
Read moreCreating Triggered Send Definition via SOAP API & PHP
<?php require(’../../00 Includes/exacttarget_soap_client.php’); $wsdl = ‘https://webservice.exacttarget.com/etframework.wsdl’; try { /* Create the Soap Client */ $client = new
Read more