Trait samotop::mail::EsmtpService [−][src]
The service which implements this trait delivers ESMTP extensions.
/// This mail service canhabdle 8-bit MIME #[derive(Clone, Debug)] pub struct EnableEightBit<T>(T); impl<T> EsmtpService for EnableEightBit<T> where T: EsmtpService, { fn prepare_session(&self, session: &mut SessionInfo) { self.0.prepare_session(session); session .extensions .enable(&extension::EIGHTBITMIME); } }
Required methods
pub fn prepare_session(&self, session: &mut SessionInfo)
[src]
Implementations on Foreign Types
impl<T> EsmtpService for Arc<T> where
T: EsmtpService,
[src]
T: EsmtpService,