web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Triggering Plugin to send email in C#

(0) ShareShare
ReportReport
Posted on by

Is this possible? I keep getting security credential issues. Like I'm not permitted to access the SMTP() class.

I am using .NET services (.NET Mail) to send email but if it's easier to do it in CRM, I'm all for it, I just don't know how.

How do I give my program the right permission to execute anything it wants?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    KZee Profile Picture
    on at

    Hi,

    I am assuming you are not going to use CRM email functionality just to send emails from an external application then that will not be a good idea because that will introduce another layer of complexity since you are already having security credential issues.

    If you are trying to send an email from a plugin/ custom workflow activity or from an application integrated with dynamics crm then it is no doubt a good idea to use email functionality available in CRM because you can then link those emails with other entities like case.

    You can use Server Side sync to send emails out in CRM (or use Email router).

    Server Side Sync:

    technet.microsoft.com/.../mt622063.aspx

    Email router:

    msdn.microsoft.com/.../hh550129(v=crm.6).aspx

    Following link explains how to send email using C# in CRM.

    msdn.microsoft.com/.../hh210217.aspx

    Please mark the answer as verified if it was helpful.

  • Community Member Profile Picture
    on at

    This is an EXCELLENT! EXCELLENT response!!! Thank you

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans