Documentation

CiviMailUtils.php

Mail utils for use during unit testing to allow retrieval and examination of 'sent' emails.

Basic usage:

$mut = new CiviMailUtils( $this, true ); //true automatically starts spooling ... do stuff ... $msg = $mut->getMostRecentEmail( 'raw' ); // or 'ezc' to get an ezc mail object ... assert stuff about $msg ... $mut->stop();

Table of Contents

Classes

CiviMailUtils
Class CiviMailUtils

        
On this page

Search results