PHP code example of djurovicigoor / postmark-bounced-email-blocker
1. Go to this page and download the library: Download djurovicigoor/postmark-bounced-email-blocker 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/ */
djurovicigoor / postmark-bounced-email-blocker example snippets
'providers' => [
...
Djurovicigoor\PostmarkBouncedEmailBlocker\PostmarkBouncedEmailBlockerServiceProvider::class,
],
'bounced_email_in_postmark' => 'It\'s not possible to send email to this address because the recipient has flagged your previous email as spam.',
protected function schedule(Schedule $schedule)
{
$schedule->command('postmark-bounced-email:fetch')->daily();
}
'field' => 'email|bounced_email_in_postmark',
bash
php artisan vendor:publish --tag=postmark-bounced-email-blocker
bash
php artisan postmark-bounced-email:fetch