Here’s the scenario. We had links where the URL was populated from the data. The field was called “URL”, and it contained URLs without the http://. So, my code looked like this: <a href=”http://%%URL%%”>%%URL%%</a> Pretty straight forward. Well, the data extension that was used for the email send, would get updated after the blast. What … Continue reading ExactTarget AMPscript: Issue with links not working when URL is pulled from data
Here’s the scenario. You send out an email using a data extention. The email template has dynamic content. Specifically, the template has a link that is populated from the DE. If that DE is updated, and the email is sent again to the updated list, some links in the first email will not work anymore. … Continue reading AMPscript – RedirectTo()
—————————- Today’s Date Substitution String (Short Date Format): %%xtshortdate%% 8/14/2011 —————————- Today’s Date Substitution String (Long Date Format): %%xtlongdate%% Sunday, August 14, 2009 —————————- Today’s Date MM/dd/yyyy: %%=Format(Now(),”MM/dd/yyyy”)=%% 08/14/2011 —————————- Today’s Date plus 7 days (no formatting): %%=DateAdd(Now(), “7”,”D”)=%% 8/21/2011 10:05:55 PM —————————- Today’s Date plus 7 days (with formatting – no time): %%=Format(DateAdd(Now(), “7”,”D”), … Continue reading Format date/time via AmpScript
Loops FOR loop %%[ FOR @i = 1 TO 9 DO ]%% Number: %%=v(@i)=%% %%[ NEXT @i ]%% Thank you for reading!