Website sender name

I’ve been working on my site on drupal 8.2.6
but I find out that my website’s mailing system isn’t working in the forget password, contact form recipient, etc
Is it a problem that my mail MX record isn’t my website’s
My MX record is pointing to mx.yandex.net
if it’s a problem how do I fix it

Drupal version: 


Source: https://www.drupal.org/taxonomy/term/20/feed