Fabrik 3.1: JUtility::sendMail() throws fatal error

Fatal error: Call to undefined method JUtility::sendMail() in C:\xampp\htdocs\j3\plugins\fabrik_cron\email\email.php on line 100

JUtility::sendMail() not longer supported in J!3;
Code taken from frabrik_form/email.php

Not sure if it takes the parameters exactly as in JUtility::sendMail()