Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

eMail Templates Attachments

Posted on by 55

Hi all,

I added a new attachemnt doc to existing email template but the mail sent with the attachement and when i checked the activities the email was sent and there is no attachment appear, so whats the problem 

Thanks,

MO

  • moelshimy Profile Picture
    moelshimy 55 on at
    RE: eMail Templates Attachments

    Thank  you Steve.

    your steps working fine , so what about using the email template which contains attachments file and calling the template from code using SendEmailFromTemplateRequest Class

                       SendEmailFromTemplateRequest sendEmailreq = new SendEmailFromTemplateRequest

                       {

                           Target = email,

                           TemplateId = emailTemplate.Id,

                           RegardingId = regardingId,

                           RegardingType = entRegardingType,

                       };

                       service.Execute(sendEmailreq);

    should i do somthing else for the attached file which included in the templates

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: eMail Templates Attachments

    Hi,

    Please make sure the attachment is added to the attachment list when import the email template.

    Steps:

    1. Navigate to the Activities and click Email button.

        clickemailbutton.png

    2. Click insert Template button and select your email template.

        Snipaste_5F00_2021_2D00_07_2D00_07_5F00_14_2D00_13_2D00_19.png

        chooseTemplate.png

    3. Click send button after the doc is added to the attachment list.(If your doc was not added to the attachment list, the doc wouldn’t be sent with the email)

        Snipaste_5F00_2021_2D00_07_2D00_07_5F00_14_2D00_14_2D00_26.png

    4. Result:

        Snipaste_5F00_2021_2D00_07_2D00_07_5F00_14_2D00_20_2D00_08.png

    Regards,
    Steve Zhao
    Please mark as verified if the answer is helpful.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans