PHP code example of polevaultweb / codeception-emailmarketing

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

    

polevaultweb / codeception-emailmarketing example snippets


$I = new AcceptanceTester( $scenario );

$I->seeTagsForSubscriber( '[email protected]', array( 'customer', 'product-x' ) );
$I->seeCampaignsForSubscriber( '[email protected]', array( 12345, 67890 ) );