PHP: Zoho validation, curl and mail