By default wordpress uses $_SERVER['SERVER_NAME']
variable to get your current hostname.
You have two filters available in wordpress to change from name / email:
add_filter('wp_mail_from', '[email protected]');
add_filter('wp_mail_from_name', 'username');