Example #1
0
 public function get_content()
 {
     return SMime::encode($this->content, $this->get_encoding(), $this->line_length, $this->eol);
 }
Example #2
0
 public function test_not_supported_encoding_should_throw()
 {
     $this->setExpectedException('SMimeException');
     SMime::encode('test', 'dummy');
 }