@extends("client.layouts.app") @section("title", __('client.hosting.email.title')) @section("content") {{ $service->product?->name ?? __('client.services.title') }}

{{ __('client.hosting.email.title') }}

{{ __('client.hosting.email.subtitle') }}
@if(!empty($webmailUrl)) {{ __('client.hosting.email.webmail') }} @endif {{ count($emails) }} {{ __('client.hosting.email.mailboxes') }}
@if(empty($domains))
{{ __('client.hosting.email.no_domains') }}
@else
{{ __('client.hosting.email.create_title') }}
@csrf
@
@error('local_part')
{{ $message }}
@enderror @error('password')
{{ $message }}
@enderror
@endif
{{ __('client.hosting.email.accounts_title') }}
@if(empty($emails))
{{ __('client.hosting.email.empty') }}
@else
@foreach($emails as $mail) @php($on = strtolower($mail['status']) === 'active') @endforeach
{{ __('client.hosting.email.address') }}{{ __('client.hosting.email.usage') }}{{ __('common.table.status') }}{{ __('common.table.actions') }}
{{ $mail['email'] }} {{ number_format($mail['used_mb']) }} @if($mail['quota_mb'] > 0)/ {{ number_format($mail['quota_mb']) }} MB @else/ {{ __('client.hosting.email.unlimited') }} @endif {{ $mail['status'] ?: '-' }}
{{ __('client.hosting.email.change_password') }}
@csrf
@csrf
@endif
@if(!empty($mailDns)) {{-- The mail certificate could not be issued: the domain's DNS is elsewhere and these names do not point at the server yet. --}}
{{ __('client.hosting.email.dns_title') }}
{{ __('client.hosting.email.dns_note', ['host' => $mailDns['host']]) }}
@foreach($mailDns['records'] as $rec) @endforeach
{{ __('client.hosting.email.dns_name') }}{{ __('client.hosting.email.dns_type') }}{{ __('client.hosting.email.dns_value') }}
{{ $rec['type'] }}
{{ __('client.hosting.email.dns_after') }}
@csrf
@endif @if(!empty($mailHost)) {{-- Mail client settings. This was the most common support request: the customer created the mailbox and then did not know what to type into Outlook. --}}
{{ __('client.hosting.email.settings_title') }}
{{ __('client.hosting.email.settings_note') }}
@foreach([ ['IMAP', __('client.hosting.email.settings_incoming_recommended'), '993', 'SSL/TLS'], ['POP3', __('client.hosting.email.settings_incoming_alt'), '995', 'SSL/TLS'], ['SMTP', __('client.hosting.email.settings_outgoing'), '465', 'SSL/TLS'], ['SMTP', __('client.hosting.email.settings_outgoing_alt'), '587', 'STARTTLS'], ] as [$proto, $label, $port, $sec]) @endforeach
{{ __('client.hosting.email.settings_purpose') }} {{ __('client.hosting.email.settings_server') }} {{ __('client.hosting.email.settings_port') }} {{ __('client.hosting.email.settings_security') }}
{{ $proto }}{{ $label }} {{ $sec }}
{{ __('client.hosting.email.settings_username') }} {{ __('client.hosting.email.settings_guide') }}
@endif @endsection