echo "\n"; $ext = 'pichula'; if ($sieve->hasExtension($ext)) { echo "this server supports the '{$ext}' extenssion\n"; } else { echo "this server does not supports the '{$ext}' extenssion\n"; } echo "\n"; $ext = 'fileinto'; if ($sieve->hasExtension($ext)) { echo "this server supports the '{$ext}' extenssion\n"; } else { echo "this server does not supports the '{$ext}' extenssion\n"; } echo "\n\nThe server has the following Auth Methods:\n"; $meths = $sieve->getAuthMechs(); for ($i = 0; $i < count($meths); $i++) { echo sprintf(" %s. %s\n", $i + 1, $meths[$i]); } echo "\n"; $meth = 'pichula'; if ($sieve->hasAuthMech($meth)) { echo "this server supports the '{$meth}' Auth Method\n"; } else { echo "this server does not supports the '{$meth}' Auth Method\n"; } echo "\n"; $meth = 'cram-md5'; if ($sieve->hasAuthMech($meth)) { echo "this server supports the '{$meth}' Auth Method\n"; } else {