PHP code example of daworks / ncloud-cloud-outbound-mailer

1. Go to this page and download the library: Download daworks/ncloud-cloud-outbound-mailer 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/ */

    

daworks / ncloud-cloud-outbound-mailer example snippets


'mailers' => [
    'ncloud' => [
        'transport' => 'ncloud',
    ],
],

'default' => 'ncloud',

Mail::to($request->user())->send(new OrderShipped($order));

NCLOUD_AUTH_KEY=your_auth_key_here
NCLOUD_SERVICE_SECRET=your_service_secret_here

php artisan vendor:publish --provider="Daworks\NcloudCloudOutboundMailer\NcloudCloudOutboundMailerServiceProvider" --tag=config