Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

How to Trigger a plugin that runs on email send manually

Posted on by Microsoft Employee

Good day Everyone,

I need to debug a plugin that runs on email send.

My emails are sent through a workflow.

On debug after starting plugin profiler ,and performing the action that sends email on the activity party e.g create a case, to trigger a workflow that sends an email

The workflow comes back with the feedback or errors,on the process sessions only.

But what I need instead is to on this action get the log file,download it and debug my plugin to step into my code.

Is there a way I can trigger email send ,like send email manually directly form CRM,so as I can download  the log file for debugging?

Regards.

 

*This post is locked for comments

  • Suggested answer
    Alagunellaikumar Profile Picture
    Alagunellaikumar 6,210 on at
    RE: How to Trigger a plugin that runs on email send manually

    send me screen shot pls

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to Trigger a plugin that runs on email send manually

    Hi Alagu

    From where should I copy that because this is not triggering the debugger.

    I copied from Unhanded exception but nothing gets triggered.

  • Suggested answer
    Alagunellaikumar Profile Picture
    Alagunellaikumar 6,210 on at
    RE: How to Trigger a plugin that runs on email send manually

    You will get that error details from process session and paste it in the notepad from that you can debug your plugin code.

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

Featured topics

Product updates

Dynamics 365 release plans