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