I'm sending out on email when a user lands on a landing page, described in this post.
Now I would like to change the sender dynamically based on certain conditions. To do this I created a sender profile which uses variables in the FromEmail and FromName fields. Unfortunately tho, this seems to be ignored.
Sample from the landing page:
set @SenderEmail = Lookup('Ent.sender_DE', 'SenderEmail', 'parameter', @param)
And in the delivery profile settings I simply use this variable like so: <br>
%%=v(@SenderEmail)=%%
What am I missing to make it work? Or is there another way to simply set the sender via AMPScript in the landing page?