Skip to main content

Basic authentication for notifications settings when using SendGrid

Beginning on January 20th, 2021 SendGrid is ending support for username and password authentication for sending emails. SendGrid users will be required to update their authentication method to use Twilio SendGrid API keys exclusively. In response to this, changes were made to M-Files Server to support API key authentication when connecting to Twilio SendGrid to send notifications.


Twilio is enhancing security for all their users. Using an account username and password for authentication is less secure than using an API Key. Unlike your username and password, API Keys are uniquely generated and can be set to limit the access and specify permissions for a given request.

Does this affect me?

If you are an M-Files Cloud customer this does not affect you and you do not need to take any actions.

If you are running M-Files in an on-premises environment and you are using SendGrid to send M-Files notifications you will need to take action prior to January 20th, 2021 to ensure that M-Files notifications will continue working.

To check if you are using SendGrid for notifications, please see: Editing Notification Settings In M-Files Admin.

What actions do I need to take?

To continue using SendGrid for notifications, you will need to:

  • Upgrade your M-Files Server to the December '20 version or newer. Instructions for manually updating your M-Files Server can be found here.
  • Upgrade your SendGrid authentication method to use API keys. Instructions can be found here.
  • Configure your M-Files Notification Settings to use API key authentication instead of basic authentication. Instructions for updating Notification Settings can be found here. Use "apikey" as the SMTP server account name, and the 69-character SendGrid API key as password.

If you do not take any actions, starting on January 20th, 2021 SendGrid will no longer accept basic authentication and M-Files Notifications will fail to send.

If you are currently using SendGrid and are unable to upgrade your M-Files Server prior to January 20th, 2021, or if you have any additional questions, please contact M-Files Customer Support.