Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Adding contact owner/email as from name and address in emails

(0) ShareShare
ReportReport
Posted on by 8

Hello,

We are trying to personalize some emails and attempting to use the owner of the contact record, along with their email as the from name and email address. 

This would be dynamic at the owner and email would change based on the contact. We do not have any fields on the contact record which store the owner's name or email, though. 

Is there a way to personalize the marketing email so that the email will pull from the User entity and pull the owner name and email?

Thanks!

Bryan

  • Bryan Gruszka Profile Picture
    Bryan Gruszka 8 on at
    RE: Adding contact owner/email as from name and address in emails

    Hello Nya,

    Thank you very much! This was exactly what I needed - much appreciated!

  • Verified answer
    Nya Profile Picture
    Nya 29,058 on at
    RE: Adding contact owner/email as from name and address in emails

    Hi Bryan,

    First of all, you need to add the User entity into the Dataset configuration by navigating to Settings > Data Management > Dataset configuration.

    Of course, if the owner is a Team, the entity should be added in the same way.

    pastedimage1633506189086v1.png

    After publishing the change, you can edit the fields in the email with Assist Edit.

    The from address should be {{contact.contact_systemuser_owninguser.internalemailaddress}}

    pastedimage1633506542886v2.png

    And the from name is {{contact.contact_systemuser_owninguser.fullname}}.

    pastedimage1633506651118v3.png

    Since the email contains a dynamic content which includes relationship, it cannot be sent directly with Send Now button.

    pastedimage1633506803446v4.png

    It should be sent with customer Journey.

    pastedimage1633506927179v5.png

    Here is the final effect of the received email.

    pastedimage1633507332016v6.png

  • Bryan Gruszka Profile Picture
    Bryan Gruszka 8 on at
    RE: Adding contact owner/email as from name and address in emails

    Just to add to this .we've been able to include the owner email as a dynamic field, but the emails will not send. We keep getting an error saying the sender address isn't valid. 

    The personalization we are using for the sender address is as follows:

    {{contact.contact_systemuser_owninguser.internalemailaddress}}

    When we do a test send, Dynamics tells us this: ""From address" and/or "From name" fields contain valid dynamic expressions, but we can't confirm whether they will resolve to valid values for all recipients until send time. This is normal, but consider double-checking the expressions to make sure they are correct."

    But we can send the email. However, when looking at the insights tab, we see that the email has been blocked because the "sender address is not valid" - we've checked and the email is valid on the Owning user record so I'm not sure what the issue is.

    Any assistance would be helpful.

    Thanks!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,309 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans