In From field root@localhost is visible

invoiceplane is sending out mails as Root User. In From field root@localhost is visible.

Then your servers Sendmail or PHP Mail is not configured correctly. Please correct the settings for the chosen sending method or use SMTP.