phpmailer-php5/class.phpmailer.php
public function clearAddresses()
    {
        foreach ($this->to as $to) {
            unset($this->all_recipients[strtolower($to[0])]);
        }
        $this->to = array();
        $this->clearQueuedAddresses('to');
    }
public function clearAddresses()
    {
        foreach ($this->to as $to) {
            unset($this->all_recipients[strtolower($to[0])]);
        }
        $this->to = array();
        $this->clearQueuedAddresses('to');
    }
public function clearAddresses ( ) { foreach ( $ this -> to as $ to ) { unset ( $ this -> all_recipients [ strtolower ( $ to [ 0 ] ) ] ) ; } $ this -> to = array ( ) ; $ this -> clearQueuedAddresses ( 'to' ) ; }
Clear all To recipients.
@return void
Clear all To recipients .