Build up a project with NetBeans
bug fix 1: $compan013y->$company

$invoice_info = str_replace("{company}", $compan013y, $invoice_info);

Resulted in the invoice Email not having company name.