Skip to main content

Notifications

Service | Customer Service, Contact Center, Fie...
Answered

Mark incoming e-mails as spam

Posted on by 27
We are currently in the proces of moving our customer service e-mails from Freshdesk to Dynamics cases. We determine which e-mails become cases by converting them from the queue.
 
In Freshdesk (and Outlook), we have an option to mark incoming e-mails as spam. I don't see this option in Dynamics 356, is there any way for us to do this without creating our own Spam button in combination with Flows?
 
Thank you in advance for your help!
  • MichaelVanDijk Profile Picture
    MichaelVanDijk 27 on at
    Mark incoming e-mails as spam
    Thank you, Dengliang! Very helpful answer, I'll implement a solution like you did.
  • Verified answer
    Dengliang Li Profile Picture
    Dengliang Li Microsoft Employee on at
    Mark incoming e-mails as spam
    Hi,
     
    There is no out-of-the-box way to mark incoming email as spam.
    Therefore, I'm afraid you'll have to create flows or create custom buttons for that.
     
    In my testing, I added a Yes/no field to the Email form to mark the email as spam or not.
    Then added a custom button that when clicked will set the field to Yes.
    The code executed by the button is as follows.
     
    function MarkAsSpam(primaryControl) {
        var formContext = primaryControl;
     
        //Set the field to Yes
        var spam = formContext.getAttribute("cra21_spam").setValue(true);
     
        //Save the current record
        formContext.data.entity.save();
    }
     
    The final result is shown below.
     
    If my answer was helpful, please click Like, and if it solved your problem, please mark it as verified to help other community members find more.
    If you have further questions, please feel free to contact me .
     
    Best Regards,
    Dengliang Li
     

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans