I created a new email profile with the super admin and I configured the smtp.

Then when I execute this query:

```
   exec msdb.dbo.sp_send_dbmail
   @profile_name ='admin_mail',
   @recipients = 'firstname.lastname@email.com',
   @execute_query_database = 'DashboardPowerBi',
   @query = 'select top 20 from Client_1',
   @subject= 'Liste des clients',
   @body_format ='HTML',
   @attach_query_result_as_file = 1;

```

I get this error:

Failed to initialize sqlcmd library with error number -2147024809