<?php

use Illuminate\Support\Facades\Mail;

require __DIR__ . '/vendor/autoload.php';
$app = require_once __DIR__ . '/bootstrap/app.php';
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
$kernel->bootstrap();

Mail::raw('Tes kirim email dari Laravel melalui file tinker-email-test.php', function ($msg) {
    $msg->to('ucilkecil387@gmail.com')->subject('Tes Kirim Email Manual');
});

echo "✅ Email test sent.\n";
