Form via SMTP

I noticed that emails from the site's contact form are sent via PHP and not via the SMTP configuration set in Joomla's global settings.
Emails sent via PHP mail are therefore not signed with DKIM and mostly end up as SPAM.
Am I wrong? Or is there a way to configure forms to send via SMTP?

Replies are visible only to logged in members with an active subscription.