[php-src] Issue #23008: CI: hMailServer download broken

[email protected] (NickSdot) Mon, 3 Aug 2026 18:58:34 +0000
Newsgroups php.bugs
Message-ID <[email protected]>
Issue: https://github.com/php/php-src/issues/23008
Author: NickSdot

### Description

Found while working on https://github.com/php/php-src/pull/22995.

CI downloads `hMailServer` in [.github/scripts/windows/test_task.bat#L117-L124](https://github.com/php/php-src/blob/master/.github/scripts/windows/test_task.bat#L117-L124). The download URL returns a CF 403 page, which means its HTML is saved as `hMailServer.exe`. CI then reports: 

```text
The system cannot execute the specified program.

Fatal error: Uncaught com_exception: Failed to create COM object
`hMailServer.Application': Invalid class string
```

...but doesn't fail. Probably shouldn't be like that. Tests depending on it are then skipped. Also, `hMailServer`  is no longer maintained so instead of fixing the download it probably should be replaced? Not Windows savvy myself so leaving this here for someone else.

cc @SakiTakamachi who has last been working on it a long while ago.

### PHP Version

```plain
-
```

### Operating System

-