@extends('layouts.admin') @section('title', 'Create Email Campaign') @section('content')

Design and schedule a new email broadcast.

@if(session('success')) @endif @if($errors->any()) @endif
@csrf
1

Campaign Details

This will be the subject line of your email.

2

Target Audience

Who should receive this email?

All Users

Send to all registered users in the database.

Single Recipient

Send to a specific user account.

Custom Upload

Upload a CSV or Excel file with email addresses.

File must contain an 'email' column or list emails in the first column.

3

Message Content

Recent Campaigns

@forelse($campaigns as $campaign) @empty @endforelse
Date Campaign Name Audience Sent Actions
{{ $campaign->created_at->format('M d, Y') }}
{{ $campaign->created_at->format('h:i A') }}
{{ $campaign->subject }} {{ ucfirst($campaign->recipient_type) }} {{ $campaign->sent_count }} View Logs
@csrf @method('DELETE')
No email campaigns sent yet. Start your first broadcast above.
@if($campaigns->hasPages())
{{ $campaigns->links() }}
@endif
@endsection