User Registration with Blazor Server App

I am getting the following message when I try to register a new user:
"Syntax error, command unrecognized. The server response was: "

This error is shown usually when sending email:

Check your email settings used for register user code.