0

Is there are a Personalization String that can be used to pull in the email address that a given Journey is being targeted at?

I'm pulling in the email address from a Data Extension using the "Use email attribute from Contacts" functionality.

%%emailaddr%% will only pull in the main email address associated with a Subscriber. But in certain cases I need to pull in other email addresses associated with a Subscriber.

Salesforce have this documentation, but I'm not sure if the list in this is exhaustive.

  • Just write an AMPScript LookUp that pulls in this information from that particular dataextension and display the variable like %%=v(@variablename)=%% – Johannes Schapdick Dec 3 '19 at 13:28
  • 2
    If you are using 'email attribute from Contacts' then %%emailaddr%% should pull that email. This personalization string pulls the assigned sendable Email Address, which in that case would be the email address stored in All Subscribers or 'the main email address'. If you want an email address that is not the sendable one, then you would need to use the field name that is stored in the sendable data (e.g. %%secondary_email%%) OR do a lookup to the DE to gather that email. E.g. Lookup('myDE', 'EmailAddress','SubscriberKey',_SubscriberKey) – Gortonington Dec 3 '19 at 13:56
0

As an assumption that this resolved his issue, I am transferring this from a comment to an answer for easy reference:

If you are using 'email attribute from Contacts' then %%emailaddr%% should pull that email. This personalization string pulls the assigned sendable Email Address, which in that case would be the email address stored in All Subscribers or 'the main email address'.

If you want an email address that is not the sendable one, then you would need to use the field name that is stored in the sendable data (e.g. %%secondary_email%% if stored in field name secondary_email) OR do a lookup to the DE to gather that email. E.g. Lookup('myDE', 'EmailAddress','SubscriberKey',_SubscriberKey).

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.