示例#1
0
文件: Pop3Test.php 项目: hjr3/zf2
 public function testDotMessage()
 {
     $mail = new Storage\Pop3($this->_params);
     $content = '';
     $content .= "Before the dot\r\n";
     $content .= ".\r\n";
     $content .= "is after the dot\r\n";
     $this->assertEquals($mail->getMessage(7)->getContent(), $content);
 }
示例#2
0
 public function countMessages($flags)
 {
     return $this->storage->countMessages($flags);
 }