0

I've been following the Marketing Cloud documentation to set up dynamic reply-to names and email addresses with a sender profile as outlined here:

Ampscript for Dynamic reply mail management

I've gone through all of the steps - setting up the data extension and setting up the content areas with the Lookup function - but when I attempt to use the ContentArea function in the sender profile fields - I get an error saying the lookup function is invalid. Here's an example of a lookup function in the content area:

%%=Lookup("z_pw_rep_id_test","RepEmail","RepID",RepID)=%%

I do have advanced sender profiles enabled on my account, so that's not an issue. Has anyone else attempted this and had success - or used a different approach?

I've attached a screen shot of the error I got.enter image description here

  • Can you post the error message? – Samuel Dare Apr 21 '17 at 22:00
  • I would suggest you use the answer outline here by @adam spriggs: salesforce.stackexchange.com/questions/114295/… – Kenneth Wagner Apr 24 '17 at 8:36
  • Thanks for suggesting that. I gave it a try, the lookup doesn't seem to work for me. When I do a test send, the reply-to address shows the field value. Here's what my code looks like: – PhilipW Apr 24 '17 at 16:03
  • AMPscript in message head: %%[ VAR @RepID, @ReplyToName, @ReplyToAddress SET @RepID = AttributeValue("RepID") SET @ReplyToName = LOOKUP("z_pw_rep_id_test_b", "RepName", "RepID", @RepID) SET @ReplyToAddress = LOOKUP("z_pw_rep_id_test_b", "RepEmail", "RepID", @RepID) ]%% – PhilipW Apr 24 '17 at 16:10
  • and in Sender Profile: reply name: %%=v(@ReplyToName)=%% reply email: %%=v(@ReplyToAddress)=%% Interestingly, if I add those into the sending data extension, it works. I'd just rather not have to include all of that in the data extension. – PhilipW Apr 24 '17 at 16:12
0

Were you able to figure out the resolution for this error message?

Currently trying to configure a similar Dynamic Sender and Dynamic Reply Mail setup.

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.