Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

email send with attachment

Posted on by 5

i need to api code for send a email with attachment file in c#

  • Suggested answer
    RE: email send with attachment

    Hello,

    Please find below a sample that can be downloaded and begin a simple example from there , then you can use same code.

    This is the official link from our documentation explain how to test the sample:

    https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/sample-create-retrieve-update-delete-email-attachment#what-this-sample-does

    Here you can download the whole project: https://github.com/Microsoft/PowerApps-Samples/

    After download just navigate to "\PowerApps-Samples-master\PowerApps-Samples-master\cds\orgsvc\C#\CRUDEmailAttachements".

    Open it in visual studio , make sure that all references is available , if not you can download it using NuGet package then the solution will be ready for test !

    Let me know if any question/concern come up.

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: email send with attachment

    Hello,

    Check this post - crmblocks.blogspot.com/.../how-to-send-email-with-attachment-in.html

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans