Lines Matching refs:smtp
25 protected $smtp; variable in SMTPTest
34 $this->smtp = new SMTP();
41 $result = $this->smtp->setServer("localhost", "25", null);
42 $this->assertEquals('localhost', $this->testHelper->getPropertyValue($this->smtp, 'host'));
43 $this->assertEquals('25', $this->testHelper->getPropertyValue($this->smtp, 'port'));
44 $this->assertSame($this->smtp, $result);
49 $result = $this->smtp->setAuth('none', 'none');
51 $this->assertEquals('none', $this->testHelper->getPropertyValue($this->smtp, 'username'));
52 $this->assertEquals('none', $this->testHelper->getPropertyValue($this->smtp, 'password'));
53 $this->assertSame($this->smtp, $result);
58 $this->smtp->setServer("localhost", "25", null)
67 $status = $this->smtp->send($message);
77 $this->smtp->setServer("localhost", "99999", null)
85 $this->smtp->send($message);