lib/mail/Mail.php
public function setIpPoolName($ip_pool_name)
    {
        if ($ip_pool_name instanceof IpPoolName) {
            $this->ip_pool_name = $ip_pool_name->getIpPoolName();
        } else {
            $this->ip_pool_name = new IpPoolName($ip_pool_name);
        }

    }
public function setIpPoolName($ip_pool_name)
    {
        if ($ip_pool_name instanceof IpPoolName) {
            $this->ip_pool_name = $ip_pool_name->getIpPoolName();
        } else {
            $this->ip_pool_name = new IpPoolName($ip_pool_name);
        }

    }
public function setIpPoolName ( $ ip_pool_name ) { if ( $ ip_pool_name instanceof IpPoolName ) { $ this -> ip_pool_name = $ ip_pool_name -> getIpPoolName ( ) ; } else { $ this -> ip_pool_name = new IpPoolName ( $ ip_pool_name ) ; } }
Add the IP pool name to a Mail object

@param string|IpPoolName $ip_pool_name The IP Pool that you would
like to send this email from
Add the IP pool name to a Mail object