custom form submission

You can’t use admin-post.php directly in your form, you need implement an ajax request.

https://codex.wordpress.org/AJAX_in_Plugins

To send your email have a function wp_mail
https://developer.wordpress.org/reference/functions/wp_mail/

If you have problem to receive the POST params review this answer
WordPress AJAX with Axios

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)