PHP code example of laravolt / mailkeeper
1. Go to this page and download the library: Download laravolt/mailkeeper library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
laravolt / mailkeeper example snippets
return [
// Enable/disable mailkeeper.
// If enable, every outgoing mail will be intercepted.
// So, instead of send it via SMTP or other mail driver, mailkeeper will store it to database for further use.
'enabled' => env('MAILKEEPER_ENABLED', false),
// How many rows to take for each "laravolt:send-mail" command
'take' => 100,
];
$schedule->command(\Laravolt\Mailkeeper\SendMailCommand::class)->everyMinute();