PHP code example of opdavies / gmail-filter-builder
1. Go to this page and download the library: Download opdavies/gmail-filter-builder 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/ */
opdavies / gmail-filter-builder example snippets
n [
// Add your filters.
];
// If an email is from a certain address, add a label.
Filter::create()
->from('[email protected]')
->label('Something');