LARAVELMAIL Book a Demo
Menu
CHECK / EMAIL VALIDATION

Clean addresses.
Safer sending.

Laravel email validation means checking every address before you send. Laravel Mail verifies syntax, domain records, disposable domains and the mailbox itself, then stores a verdict on each subscriber so bad addresses never reach a campaign.

See Validation
Laravel Mail email validation view showing verdicts for subscriber addresses
Actual Laravel Mail interface · QA workspace
VALIDATION SECTION

What gets checked.
Before you send.

01

Syntax and format

Catch typos and malformed addresses before they reach your list. This is the same first pass Laravel runs with the email validation rule.

02

Domain and MX records

Confirm the domain exists and can receive mail. A domain with no mail servers will always bounce.

03

Disposable and risky domains

Compare each address against a large list of disposable and low-reputation domains so throwaway signups stay out of your campaigns.

04

Mailbox check and verdict

Probe the mailbox where the server allows it and return a verdict you can act on: safe, risky, unknown or invalid.

THREE LAYERS

Syntax, DNS and mailbox.
What each one proves.

Email validation is a stack of checks. Each layer is slower and more certain than the one before it, so a good setup runs the cheap ones first.

Syntax checks

A syntax check reads the address as text. It confirms there is one @, a valid local part and a domain that follows the rules in the email standards. It is instant and free, and it catches typos like a missing dot or a space. It cannot tell you whether anyone owns the address.

DNS and MX checks

A DNS check asks the domain system whether the domain exists and publishes mail exchanger (MX) records. This removes made-up domains and expired companies. It still says nothing about a single mailbox on a working domain.

Mailbox checks

A mailbox check opens a connection to the mail server and asks whether the recipient would be accepted, without sending a message. It is the only check that speaks to the real mailbox. It is also the slowest, and some servers refuse to answer, which is why the result can be "unknown" instead of a yes or no.

RISKY ADDRESSES

Disposable, role and catch-all.
Handled with care.

Not every problem address is invalid. Some are valid but risky, and the right handling depends on what you send.

Disposable addresses

Temporary inboxes from throwaway services work for a few minutes and then vanish. People use them to get a download or a coupon. If they land on your list they inflate your numbers, never open anything and eventually turn into bounces. Blocking them at signup keeps the list honest.

Role addresses

Addresses such as info@, sales@ or admin@ reach a group, not a person. They are valid, but they often have lower engagement and higher complaint rates. Treat them as a signal to review, not as an automatic rejection, because for B2B lists a role address is sometimes the only contact you will get.

Catch-all domains

A catch-all domain accepts mail for any local part, so a mailbox check cannot prove a specific address exists. Laravel Mail caps catch-all results at "risky" rather than "safe". That is the honest answer: the domain will take the message, but nobody can promise a person reads it.

Blocked probes

Some providers refuse mailbox probes from unknown servers. When that happens the service reports "unknown" instead of guessing that the address is bad. Treating a blocked probe as invalid would remove real customers from your list.

READING THE VERDICT

Four answers.
One clear action each.

Safe

The domain and mailbox look deliverable. Send as normal.

Risky

Something is uncertain: a catch-all domain, a role address or a low-trust domain. Send with care, or send a confirmation message first.

Unknown

The check could not finish, for example because the server refused the probe. Retry later or treat as risky.

Invalid

The address cannot receive mail. Remove it before you send.

BULK VALIDATION

Validate a whole list.
Without waiting on it.

Importing a list of thousands of subscribers should not freeze your app. Laravel Mail queues each address, checks it in the background and stores the verdict on the subscriber. When the queue finishes, filter by verdict, review the risky ones and export the clean list. Large lists take time because mailbox checks are rate limited by the receiving servers, so plan for the import to finish in the background.

01

Signup form

Run Laravel's built-in rule so obvious typos fail fast with a clear message.

02

On save

Call the validation service from a queued job so the form never waits on a mail server.

03

On import

Validate every row of an uploaded list and store the verdict on each subscriber.

04

Before sending

Filter the audience by verdict. Send to safe, review risky, skip invalid.

CODE EXAMPLES

Validate email in Laravel.
Step by step.

Start with the built-in rule. It needs no package and rejects malformed addresses and domains without mail records.

// app/Http/Requests/StoreSubscriberRequest.php
public function rules(): array
{
    return [
        'email' => ['required', 'email:rfc,dns', 'max:254'],
    ];
}

For deeper checks, wrap the validation API in a small service class. The endpoint takes the address as JSON and returns a verdict object.

// app/Services/EmailVerifier.php
use Illuminate\Support\Facades\Http;

class EmailVerifier
{
    public function verify(string $email): array
    {
        $response = Http::timeout(30)
            ->post(config('services.validation.url') . '/api/v1/verify-email', [
                'email' => $email,
            ]);

        return $response->json('verdict', ['status' => 'unknown']);
    }
}

Run it from a queued job so a slow mail server never holds up a request.

// app/Jobs/ValidateSubscriber.php
public function handle(EmailVerifier $verifier): void
{
    $verdict = $verifier->verify($this->subscriber->email);

    $this->subscriber->update([
        'validation_status' => $verdict['status'] ?? 'unknown',
    ]);
}

// dispatch it so the request never waits on a mail server
ValidateSubscriber::dispatch($subscriber);

If you want the check inside form validation, use a custom rule and fail only on a clear invalid verdict. That way an unknown result does not block a real customer.

// A custom rule that rejects only a clear "invalid" verdict
public function validate(string $attribute, mixed $value, Closure $fail): void
{
    $verdict = app(EmailVerifier::class)->verify($value);

    if (($verdict['status'] ?? null) === 'invalid') {
        $fail('That email address cannot receive mail.');
    }
}
API USAGE

One endpoint.
One verdict.

The validation service exposes POST /api/v1/verify-email. Send the address and read the verdict status and recommendation. Use the recommendation field to decide whether to accept, review or reject.

curl -X POST "https://your-validation-host/api/v1/verify-email" \
  -H "Content-Type: application/json" \
  -d '{"email": "test@example.com"}'
{
  "email": "user@gmail.com",
  "verdict": {
    "status": "safe",
    "confidence": 0.95,
    "recommendation": "accept",
    "reasons": ["Mailbox exists"]
  }
}
DELIVERABILITY

Why it matters
for your sender reputation.

Mailbox providers decide whether your next message reaches the inbox based partly on how your last messages performed. Clean data is the cheapest way to improve that record.

Fewer hard bounces

Mailbox providers watch your bounce rate. Sending to addresses that do not exist is one of the fastest ways to look like a spammer. Removing them before a send protects your sending reputation.

Fewer spam traps

Old, abandoned addresses are sometimes turned into traps. A list that is validated and kept clean is much less likely to hit one.

Cleaner engagement numbers

Open and click rates mean more when the denominator is real people. Validation takes the dead addresses out of the sum.

Lower sending cost

Most mail providers charge per message. Every invalid address you skip is a message you do not pay for.

Validation is one part of good sending. Pair it with authenticated domains, a clear unsubscribe link and well designed messages. See email deliverability and Laravel email templates for the rest.

FAQ

Laravel email validation,
answered.

What is Laravel email validation?

It is the process of checking that an email address is well formed, that its domain can receive mail and that the mailbox is likely to exist, before you save it or send to it. In a Laravel app it usually starts with a validation rule on the request and continues with a deeper check on import.

Is the built-in Laravel email rule enough?

The rule checks format and, with the dns option, whether the domain has records. It cannot tell you whether a domain is disposable or whether the mailbox exists, so list owners often add a verification service on top.

Where does Laravel Mail run validation?

Laravel Mail sends addresses to its own validation service when you import subscribers. The verdict is stored on each subscriber, and you can filter your list by verdict before a campaign.

What is the difference between validation and verification?

People use the words in different ways. In this page, validation means checking the format and domain, and verification means checking the mailbox. Laravel Mail does both and returns one verdict.

Does validating an email send a message to it?

No. The mailbox check asks the receiving server whether it would accept the recipient, then closes the connection without sending any content.

How accurate is email validation?

No tool is perfect. Catch-all domains and servers that block probes cannot be confirmed, so the verdict can be risky or unknown. Use the verdict to decide what to review, not as a promise of delivery.

Can I validate a whole list at once?

Yes. Upload or import your subscribers and each address is queued for checking in the background. When it finishes you can filter by verdict and export the clean list.

Should I block role and disposable addresses at signup?

Block disposable addresses in most cases. For role addresses, it depends on your audience. Many B2B lists keep them and watch the engagement.

Can I run the validation service myself?

Laravel Mail is a free, self-hosted platform, and its validation service is a standalone service with its own API, so it runs separately from the app and your address data stays in your own infrastructure.

Validate before
you send.

Book a walkthrough of validation, templates and campaigns in Laravel Mail.

Our network