6

My Client is sending to 40 different countries a unique, localized and highly personalized email. They want to have a different sender profile depending on the contact country code, including a different reply email address. Is that possible ? What should be the best way to accomplish this?

If this is not possible, can we use one unique sender profile, and use AMPscript in order to personalize sender name, sender email address, AND reply email address ?

  • Be careful when adding Profile Attributes, for these show up in Profile Center for subscribers to see! Make sure to create them as "hidden" if only using for "hacky" purposes :) – nana-p Sep 24 at 21:34
7

As an alternative to the "personalization" method described above, if you have the business rule "ENHANCED SENDER PROFILE" (you may need to contact support to have this enabled) turned on you can use AMPscript to pull back information from a DE.
e.g. for from name

%%[ VAR @fromName 
SET @fromName = Lookup("MySendProfilesDE","FROM_NAME", "SendProfileField", SENDABLE_DE_FIELD_TO_DRIVE_PROFILE) 
IF EMPTY (@fromName) THEN 
    SET @fromName = 'MyDefaultFromName' 
ENDIF ]%% 
%%=v(@fromName)=%%

Where:

MySendProfileDE is a DE used for the lookup

FROM_NAME is the field in the above DE that you want to be used

SendProfileField is the field in above DE you are matching on

SENDABLE_DE_FIELD_TO_DRIVE_PROFILE is a value from your sendable DE that is used for the lookup. As was mentioned previously I think any field that you use for this will need to appear as a profile attribute (even though a DE is used for sending)

  • How do I know if the ENHANCED SENDER PROFILE is enabled in my account? – fromero Aug 15 at 17:29
1

I have done this very thing. Here is what I did:

  1. I added a Profile Attribute called FromName and FromEmail to the account. You need to do this in order to get the AMPscript to validate, even though you're never going to use them directly (its "hacktastic").

  2. In the sendable DataExtension you're going to use for your send (I'm assuming you're sending to a DE based on the complexity you're describing) ... add 2 nullable columns called FromName and FromEmail.

  3. Create a Sender Profile. In the From Name section put %%FromName%%, in the From Email section put %%FromEmail%%.

  4. Create a User Initiated send to use that profile with your email.

  5. Create a Query activity to do the logic to populate the FromName and FromEmail DE columns at send time.

  6. Create an automation to run the query, then run the UIsend.

This may be overkill for what you are trying to do, but at least, you have an answer that works!

  • When I tried to put %%FromEmail%% under From Email section I get a validation error. '" A problem occurred updating your sender profile. Please contact Customer Service for additional information. ...........The format of the FromAddress address is not valid.." I need to dynamically update From email address. I am using .NET code to send email through exactTarget. Any insight would be greatly appreciated. – Ahmed Jan 12 '15 at 17:12
  • Did you make sure to add the profile attribute? – Timothy Jan 13 '15 at 13:10
  • Timothy, Yes I added the profile attribute. – Ahmed Jan 13 '15 at 19:31
  • @Timothy This can be used for Trigger Send? – Unknown Sep 18 '16 at 17:41
  • @Timothy what's the profile attribute used for? I don't really understand the hack... – Javier García Manzano Jan 15 '18 at 11:55

protected by Community Sep 25 at 13:31

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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