Skip to main content
replaced http://salesforce.stackexchange.com/ with https://salesforce.stackexchange.com/
Source Link

I'm sending out on email when a user lands on a landing page, described in thisthis 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?

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?

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?

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:
%%=v(@SenderEmail)=%%

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 AMPScriptAMPScript in the landing page?

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:
%%=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?

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?

Source Link
Adam Vigh
  • 159
  • 1
  • 7

Set email sender in Landing Page via AMPScript

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:
%%=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?