How get run script option in Outlook 365 mail rules

Venkata Harshavardhan Karri 0 Reputation points
2023-07-18T05:20:14.45+00:00

Hi Everyone!

Earlier Outlook version use to have run script option in rule creation to execute scripts upon receipt of email. in Outlook 365 this option is not visible

Outlook
Outlook
A family of Microsoft email and calendar products.
3,427 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Vasil Michev 100.2K Reputation points MVP
    2023-07-18T16:25:25.3+00:00

    This feature was disabled by a security update a while back. Some possible workarounds are listed here: https://www.slipstick.com/outlook/rules/outlook-run-a-script-rules/

    0 comments No comments

  2. ChristyZhang-MSFT 22,336 Reputation points Microsoft Vendor
    2023-07-19T01:25:40.2833333+00:00

    Hi @Venkata Harshavardhan Karri ,

    Welcome to our forum!

    Please refer to the following steps and try to change the registry:

    1.Select Start, select Run, type regedit in the Open box, and then select OK.

    2.Locate and then select the registry subkey:

    Computer\HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Security

    3.Right click>New, create the below registry:

    Value Name: EnableUnsafeClientMailRules

    Value Type: REG_DWORD

    Value: 1

    4.Restart Outlook.

    (Note: Serious problems can occur if you modify the registry incorrectly. Before making changes, back up the registry to restore it in case something goes wrong.)

    Then “Run a script" will be displayed under the Select actions when you create rules.

    Hope the above help!


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.