PHP code example of sawirricardo / laravel-kirimemail

1. Go to this page and download the library: Download sawirricardo/laravel-kirimemail 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/ */

    

sawirricardo / laravel-kirimemail example snippets


return [
    'username' => env('KIRIMEMAIL_USERNAME'),
    'password' => env('KIRIMEMAIL_PASSWORD'),
    'domain' => env('KIRIMEMAIL_DOMAIN'),
];

return [
    'mailers' => [
        //...

        'kirimemail' => [
            'transport' => 'kirimemail',
        ],
    ],
];

// make sure you set your mail to use kirimemail
config()->set(['mail.default' => 'kirimemail']);

Mail::to('[email protected]')->send(new MyMailable);
bash
php artisan vendor:publish --tag="laravel-kirimemail-config"