[][src]Trait milter::SetErrorReply

pub trait SetErrorReply {
    pub fn set_error_reply(
        &self,
        code: &str,
        ext_code: Option<&str>,
        msg_lines: Vec<&str>
    ) -> Result<()>; }

A trait for setting up a custom SMTP error reply.

Required methods

pub fn set_error_reply(
    &self,
    code: &str,
    ext_code: Option<&str>,
    msg_lines: Vec<&str>
) -> Result<()>
[src]

Sets the SMTP error reply as specified for ContextApi::set_error_reply.

Loading content...

Implementors

impl SetErrorReply for ContextApi[src]

Loading content...