Trait milter::SetErrorReply [−][src]
pub trait SetErrorReply {
fn set_error_reply(
&self,
code: &str,
ext_code: Option<&str>,
msg_lines: Vec<&str>
) -> Result<()>;
}
Expand description
A trait for setting up a custom SMTP error reply.
Required methods
Sets the SMTP error reply as specified for
ContextApi::set_error_reply
.