Skip to main content
Post Undeleted by wimpywombat
Answered question :)
Source Link

AreIf you are sending theyour email through an interaction? I'm setting up something similar and, declaring the title variable does not show up when sending through interaction butin the body of the email will show up if I send a test from send previewnot produce the value in the subject line.

ET Support said I need toYou must declare the title variable inwithin the subject line text box within the interaction. Do anyone know how to do this?

%%[
SET @title =Field(Row(BuildRowsetFromXML(HTTPGet("https://www.yourblog.com/blog.xml"),"//item/title",1),1),"Value")
]%%

%%=v(@title)=%% %%=Format(Now(1), "MMMM d, yyyy")=%% 

Are you sending the email through an interaction? I'm setting up something similar and the title variable does not show up when sending through interaction but will show up if I send a test from send preview.

ET Support said I need to declare the title variable in the subject text box within the interaction. Do anyone know how to do this?

If you are sending your email through an interaction, declaring the variable in the body of the email will not produce the value in the subject line.

You must declare variable within the subject line text box.

%%[
SET @title =Field(Row(BuildRowsetFromXML(HTTPGet("https://www.yourblog.com/blog.xml"),"//item/title",1),1),"Value")
]%%

%%=v(@title)=%% %%=Format(Now(1), "MMMM d, yyyy")=%% 
Post Deleted by wimpywombat
Source Link

Are you sending the email through an interaction? I'm setting up something similar and the title variable does not show up when sending through interaction but will show up if I send a test from send preview.

ET Support said I need to declare the title variable in the subject text box within the interaction. Do anyone know how to do this?