@extends('layouts.email') @section('title', $mailbox['address'].' — Ladill Email') @section('content') @php $host = 'mail.'.config('app.platform_domain'); @endphp
Mailboxes/ {{ $mailbox['address'] }}

{{ $mailbox['address'] }}

{{ $mailbox['status'] ?? '' }}

Connection settings

Use these in any mail client, or just open webmail.

Username
{{ $mailbox['address'] }}
IMAP
{{ $host }}:993 (SSL)
SMTP
{{ $host }}:587 (STARTTLS)
Open Webmail ↗
@php $quotaMb = (int) ($mailbox['quota_mb'] ?? 0); $usedBytes = (int) ($mailbox['used_bytes'] ?? 0); $price = \App\Support\MailboxPricing::priceMinorFor($quotaMb); $tiers = \App\Support\MailboxPricing::tiers(); $maxMb = collect($tiers)->max('mb'); $pct = $quotaMb > 0 ? min(100, (int) round($usedBytes / ($quotaMb * 1048576) * 100)) : 0; $fmt = fn ($m) => config('email.currency', 'GHS').' '.number_format($m / 100, 2); @endphp

Storage plan

{{ \App\Support\MailboxPricing::label($quotaMb) }} @if($price === 0) Free @else {{ $fmt($price) }}/month @endif

@if($quotaMb < $maxMb) Upgrade @else Top plan @endif
@if($quotaMb > 0)

{{ number_format($usedBytes / 1048576, 0) }} MB of {{ \App\Support\MailboxPricing::label($quotaMb) }} used ({{ $pct }}%)

@endif

Reset password

@csrf @method('PATCH')

Delete mailbox

This permanently removes the mailbox and its email.

@endsection