Reply To: Emails being sent to spam

In the above file on line 1195 I put in the following:

if(!$to || empty($to)){
$to = $support_mail;
#$headers = “From: \””.$this->name.”\” email.”>\n”; #original code
$headers = “From: \”Hotel Reservations\” \n”;
$headers .= “Reply-To: “.$this->email.”\n”;
}

This sets the email headers as being sent from the domain that the web server is allowed to send from, which means all my admin emails are no longer being spammed! Furthermore, when staff reply to an admin email (customers leave notes in their bookings that sometimes need answering) the reply-to path is set as the guest email; not the company email.
So yes, this works perfectly now, thank you!