PHP code example of lalitwebhopers / wh-mailer

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

    

lalitwebhopers / wh-mailer example snippets


'whmailer' => [
  'url' => env('WHMAILER_URL'),
  'key' => env('WHMAILER_API_KEY')
],

'default' => env('MAIL_MAILER', 'whmailer'),

'whmailer' => [
  'transport' => 'whmailer',
],

MAIL_MAILER='whmailer'
WHMAILER_URL='http://netmail.whdev.in:5000/api/mailer/send-text'
WHMAILER_API_KEY='Your API Key provided by WHMailer'

'providers' => [
 ...
 // Illuminate\Mail\MailServiceProvider::class,
 Lalitwebhopers\WhMailer\WhMailerServiceProvider::class,
 ...
]