Configuration grafana.ini

I use Grafana v12.0.1 on windows and I have a problem with configuring the grafana.ini file. When installing, the grafana.ini file was not in the C:\Program Files\GrafanaLabs\grafana\conf folder. I copied the sample.ini file, edited it as below, i.e. added the data to the email, changed the name of the file to grafana.ini and pasted it into the \conf folder. I restarted the grafana service and I still have the error: Failed to send test alert.: SMTP not configured, check your grafana.ini config file’s.

in the logs I still see this entry:
logger=settings t=2025-06-11T07:09:39.5417016+02:00 level=info msg="Config loaded from" file="C:\\Program Files\\GrafanaLabs\\grafana/conf/defaults.ini" .
I don’t see any reference to the new grafana.ini file.
What am I doing wrong?

[smtp]
enabled = true
host = smtp.gmail.com:465
user = myemail@gmail.com
# If the password contains # or ; you have to wrap it with triple quotes. Ex """#password;"""
password = zmlb rgev hocs ztgg
;cert_file =
;key_file =
skip_verify = true
from_address = myemail@gmail.com
from_name = Grafana
# EHLO identity in SMTP dialog (defaults to instance_name)
;ehlo_identity = dashboard.example.com
# SMTP startTLS policy (defaults to 'OpportunisticStartTLS')
;startTLS_policy = NoStartTLS
# Enable trace propagation in e-mail headers, using the 'traceparent', 'tracestate' and (optionally) 'baggage' fields (defaults to false)
;enable_tracing = false

https://althafsyed.hashnode.dev/grafana-smtp-configuration

In windows you should have the following files (no grafana.ini)