Send email using a PHP 5.5 Generator and cURL