@if(is_file(storage_path('app/campaign-email.paused')))

Campaign reward and stock-alert emails are paused. After configuring email, review and resume campaign delivery under Data reset.

@endif

Email setup

Owner only

Use the outgoing SMTP details supplied by your cPanel mailbox. Changes take effect immediately; no server restart is needed.

@if(config('mail.setup_error'))
The stored mailbox password could not be decrypted. Enter it again and save. Keep the application's encryption key when migrating or restoring the website.
@endif
@csrf @method('PUT')
@if(session('email_setup_grant.owner')===auth()->id() && session('email_setup_grant.expires',0)>=time())

Your Factory reset confirmation authorizes one email configuration save for 15 minutes. Saving enables the new email service.

@else@include('admin.partials.owner-confirmation')@endif

Email delivery

Switch saves automatically

Disabling delivery pauses guest purchase verification and email sign-in. Save SMTP details above before enabling delivery.

@if(session('admin_password_recovery'))@else@endif

Enter a fresh confirmation code (or your Owner password in recovery mode), then toggle. No Save button is needed.

Test delivery

Last test: {{ $settings->smtp_last_test_at ? \Carbon\Carbon::parse($settings->smtp_last_test_at)->format('d M Y, H:i').' — '.($settings->smtp_last_test_ok ? 'Submitted to SMTP' : 'Failed') : 'Not tested' }}. Confirm the test email arrives in the inbox or spam folder before starting your campaign.

@csrf@include('admin.partials.owner-confirmation')
@push('scripts') @endpush