Skip to main content

Notifications

Customer Service forum
Answered

Mark incoming e-mails as spam

editSubscribe (0) ShareShare
ReportReport
Posted on by 20
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 20 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
     

Helpful resources

Quick Links

Take the Community feedback survey!

Answer this brief 15-question survey about your Community experience…

Demystifying Copilot: Service Edition with Sundar Raghavan

Sundar answers more questions about Copilot for Service...

Dynamics 365 Business Central vs Finance and SCM

Take a look at the key differences between Business Central and…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,361 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 223,155 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans