Skip to main content
added 24 characters in body
Source Link
Gortonington
  • 30.9k
  • 3
  • 27
  • 64

I have Dynamic Sender Profile' functionality enabled within our business unit. I have created a sender profile encompassing verified "%%FromName%%" and %%FromEmailAddress%% which is connected with send a classification.

The below ampscript is embedded in the email which is not providing the desired output in the From email address and From name areas of the email.

%%[ VAR @FromEmailAddress SET @FromEmailAddress = Lookup("DE TABLE","FROM_Email_ADDRESS","Email_Address", emailaddr) IF EMPTY (@FromEmailAddress) THEN SET @FromEmailAddress = '[email protected]' ENDIF

%%[ 
VAR @FromEmailAddress
SET @FromEmailAddress = Lookup("DE TABLE","FROM_Email_ADDRESS","Email_Address", emailaddr) 
IF EMPTY (@FromEmailAddress) THEN 
    SET @FromEmailAddress = '[email protected]' 
ENDIF 
VAR @FromName
SET @FromName = Lookup("DE TABLE","Full_Name","Email_Address", emailaddr) 
IF EMPTY (@FromName) THEN 
    SET @FromName = 'CEO' 
ENDIF 
]%%  

VAR @FromName SET @FromName = Lookup("DE TABLE","Full_Name","Email_Address", emailaddr) IF EMPTY (@FromName) THEN SET @FromName = 'CEO' ENDIF ]%%
NoteNote: The lookup table is not the target DE. Am I missing a step here on the ampscript call out? Thanks

I have Dynamic Sender Profile' functionality enabled within our business unit. I have created a sender profile encompassing verified "%%FromName%%" and %%FromEmailAddress%% which is connected with send a classification.

The below ampscript is embedded in the email which is not providing the desired output in the From email address and From name areas of the email.

%%[ VAR @FromEmailAddress SET @FromEmailAddress = Lookup("DE TABLE","FROM_Email_ADDRESS","Email_Address", emailaddr) IF EMPTY (@FromEmailAddress) THEN SET @FromEmailAddress = '[email protected]' ENDIF

VAR @FromName SET @FromName = Lookup("DE TABLE","Full_Name","Email_Address", emailaddr) IF EMPTY (@FromName) THEN SET @FromName = 'CEO' ENDIF ]%%
Note: The lookup table is not the target DE. Am I missing a step here on the ampscript call out? Thanks

I have Dynamic Sender Profile' functionality enabled within our business unit. I have created a sender profile encompassing verified "%%FromName%%" and %%FromEmailAddress%% which is connected with send a classification.

The below ampscript is embedded in the email which is not providing the desired output in the From email address and From name areas of the email.

%%[ 
VAR @FromEmailAddress
SET @FromEmailAddress = Lookup("DE TABLE","FROM_Email_ADDRESS","Email_Address", emailaddr) 
IF EMPTY (@FromEmailAddress) THEN 
    SET @FromEmailAddress = '[email protected]' 
ENDIF 
VAR @FromName
SET @FromName = Lookup("DE TABLE","Full_Name","Email_Address", emailaddr) 
IF EMPTY (@FromName) THEN 
    SET @FromName = 'CEO' 
ENDIF 
]%%  

Note: The lookup table is not the target DE. Am I missing a step here on the ampscript call out? Thanks

added 46 characters in body
Source Link

I have Dynamic Sender Profile' functionality enabled within our business unit. I have created a sender profile encompassing verified "%%FromName%%" and %%FromEmailAddress%% which is connected with send a classification.

The below ampscript is embedded in the email which is not providing the desired output in the From email address and From name areas of the email.

%%[ VAR @FromEmailAddress SET @FromEmailAddress = Lookup("DE TABLE","FROM_Email_ADDRESS","Email_Address", emailaddr) IF EMPTY (@FromEmailAddress) THEN SET @FromEmailAddress = '[email protected]' ENDIF

VAR @FromName SET @FromName = Lookup("DE TABLE","Full_Name","Email_Address", emailaddr) IF EMPTY (@FromName) THEN SET @FromName = 'CEO' ENDIF ]%%
Note: The lookup table is not the target DE. Am I missing a step here on the ampscript call out? Thanks

I have Dynamic Sender Profile' functionality enabled within our business unit. I have created a sender profile encompassing verified "%%FromName%%" and %%FromEmailAddress%% which is connected with send a classification.

The below ampscript is embedded in the email which is not providing the desired output in the From email address and From name areas of the email.

%%[ VAR @FromEmailAddress SET @FromEmailAddress = Lookup("DE TABLE","FROM_Email_ADDRESS","Email_Address", emailaddr) IF EMPTY (@FromEmailAddress) THEN SET @FromEmailAddress = '[email protected]' ENDIF

VAR @FromName SET @FromName = Lookup("DE TABLE","Full_Name","Email_Address", emailaddr) IF EMPTY (@FromName) THEN SET @FromName = 'CEO' ENDIF ]%%
Am I missing a step here on the ampscript call out? Thanks

I have Dynamic Sender Profile' functionality enabled within our business unit. I have created a sender profile encompassing verified "%%FromName%%" and %%FromEmailAddress%% which is connected with send a classification.

The below ampscript is embedded in the email which is not providing the desired output in the From email address and From name areas of the email.

%%[ VAR @FromEmailAddress SET @FromEmailAddress = Lookup("DE TABLE","FROM_Email_ADDRESS","Email_Address", emailaddr) IF EMPTY (@FromEmailAddress) THEN SET @FromEmailAddress = '[email protected]' ENDIF

VAR @FromName SET @FromName = Lookup("DE TABLE","Full_Name","Email_Address", emailaddr) IF EMPTY (@FromName) THEN SET @FromName = 'CEO' ENDIF ]%%
Note: The lookup table is not the target DE. Am I missing a step here on the ampscript call out? Thanks

Source Link

Dynamic Sender Marketing Cloud

I have Dynamic Sender Profile' functionality enabled within our business unit. I have created a sender profile encompassing verified "%%FromName%%" and %%FromEmailAddress%% which is connected with send a classification.

The below ampscript is embedded in the email which is not providing the desired output in the From email address and From name areas of the email.

%%[ VAR @FromEmailAddress SET @FromEmailAddress = Lookup("DE TABLE","FROM_Email_ADDRESS","Email_Address", emailaddr) IF EMPTY (@FromEmailAddress) THEN SET @FromEmailAddress = '[email protected]' ENDIF

VAR @FromName SET @FromName = Lookup("DE TABLE","Full_Name","Email_Address", emailaddr) IF EMPTY (@FromName) THEN SET @FromName = 'CEO' ENDIF ]%%
Am I missing a step here on the ampscript call out? Thanks