1. Go to this page and download the library: Download lullabot/drainpipe 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/ */
lullabot / drainpipe example snippets
// Override the default Drainpipe mail configuration.
// This should come after including settings.tugboat.php
if (getenv('TUGBOAT_REPO')) {
// Example: Use a custom mail transport
$config['system.mail']['interface']['default'] = 'my_custom_mailer';
// Example: Configure Symfony Mailer differently
$config['symfony_mailer.settings']['default_transport'] = 'custom_transport';
$config['symfony_mailer.mailer_transport.custom_transport']['plugin'] = 'smtp';
$config['symfony_mailer.mailer_transport.custom_transport']['configuration']['host'] = 'custom.smtp.example.com';
$config['symfony_mailer.mailer_transport.custom_transport']['configuration']['port'] = '587';
}