2024.8.23
|
Go to the source code of this file.
Variables | |
global | $bearsamppBins |
global | $bearsamppLang |
$result | |
$smtpPort = $bearsamppBins->getMailhog()->getSmtpPort() | |
$textDisabled = $bearsamppLang->getValue(Lang::DISABLED) | |
$textServiceStarted = $bearsamppLang->getValue(Lang::HOMEPAGE_SERVICE_STARTED) | |
$textServiceStopped = $bearsamppLang->getValue(Lang::HOMEPAGE_SERVICE_STOPPED) | |
if($bearsamppBins->getMailhog() ->isEnable()) | else |
foreach ( $bearsamppBins->getMailhog() ->getVersionList() as $version) | |
global $bearsamppBins |
Definition at line 10 of file ajax.mailhog.php.
global $bearsamppLang |
Definition at line 10 of file ajax.mailhog.php.
$result |
This script retrieves information about the Mailhog service status and versions. It checks the SMTP port status and retrieves the list of available versions. The results are returned as a JSON-encoded array.
Definition at line 19 of file ajax.mailhog.php.
$smtpPort = $bearsamppBins->getMailhog()->getSmtpPort() |
Definition at line 25 of file ajax.mailhog.php.
$textDisabled = $bearsamppLang->getValue(Lang::DISABLED) |
Definition at line 29 of file ajax.mailhog.php.
$textServiceStarted = $bearsamppLang->getValue(Lang::HOMEPAGE_SERVICE_STARTED) |
Definition at line 27 of file ajax.mailhog.php.
$textServiceStopped = $bearsamppLang->getValue(Lang::HOMEPAGE_SERVICE_STOPPED) |
Definition at line 28 of file ajax.mailhog.php.
if ( $bearsamppBins->getMailhog() ->isEnable()) else |
Check if the Mailhog service is running on the specified SMTP port. If the port is open, indicate that the service is started. If the port is closed, indicate that the service is stopped. If the service is disabled, indicate that it is disabled.
Definition at line 43 of file ajax.mailhog.php.
foreach($bearsamppBins->getMailhog() ->getVersionList() as $version) | ( | $bearsamppBins->getMailhog() ->getVersionList() as | ) |
Retrieve the list of available Mailhog versions. Highlight the current version with a primary badge. Other versions are displayed with a secondary badge.
Definition at line 52 of file ajax.mailhog.php.