Email Management

Manage your company email accounts securely and easily.

@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif @if ($configError)
Setup required
{{ $configError }}
CPANEL_HOST=yourdomain.com
CPANEL_PORT=2083
CPANEL_WEBMAIL_PORT=2096
CPANEL_USERNAME=your_cpanel_username
CPANEL_API_TOKEN=your_api_token
CPANEL_DOMAIN=yourdomain.com
@endif

Add New Email

Example: info or info@{{ $domain ?: 'yourdomain.com' }}

@csrf

Use 0 for unlimited if your hosting allows it.

@forelse($accounts as $account) @php $rawEmail = $account['email'] ?? (($account['user'] ?? '') . '@' . ($account['domain'] ?? $domain)); $rawEmail = strtolower(trim($rawEmail)); $configuredDomain = strtolower(trim($domain)); if ($configuredDomain && str_ends_with($rawEmail, '@' . $configuredDomain)) { $email = strstr($rawEmail, '@', true) . '@' . $configuredDomain; } else { $email = $rawEmail; } $diskUsed = $account['diskused'] ?? $account['humandiskused'] ?? '—'; $quota = $account['diskquota'] ?? $account['humandiskquota'] ?? '—'; @endphp @empty @endforelse
Usage Quota Action
{{ $email }}
{{ $diskUsed }} {{ $quota }}
Open Inbox
@csrf @method('DELETE')
No mailboxes found, or cPanel is not configured yet.