Just to add, the mailer I use is Brevo.
Thanks for your response. I tried everything else to the best of my ability and nothing helped. Then I tried deactivating WP Mail SMTP and submitting the contact form and I received a notification! So that’s great. But does it mean I don’t need WP Mail SMTP or is it that the configuration suddenly wrong?