sender example

public function testReturnPath()
    {
        $e = new Email();
        $e->returnPath('[email protected]');
        $this->assertEquals(new Address('[email protected]')$e->getReturnPath());
    }

    public function testSender()
    {
        $e = new Email();
        $e->sender('[email protected]');
        $this->assertEquals(new Address('[email protected]')$e->getSender());

        $e->sender($fabien = new Address('[email protected]'));
        $this->assertSame($fabien$e->getSender());
    }

    public function testFrom()
    {
        $e = new Email();
        $helene = new Address('[email protected]');
        $thomas = new Address('[email protected]', 'Thomas');
        
Home | Imprint | This part of the site doesn't use cookies.