Struct new_tokio_smtp::send_mail::EnvelopData
source · pub struct EnvelopData {
pub from: Option<MailAddress>,
pub to: Vec1<MailAddress>,
}
Expand description
POD representing the smtp envelops from,to’s
Fields§
§from: Option<MailAddress>
the sender, this can be None
i.e. a <>
reverse path
to: Vec1<MailAddress>
the receiver to use with RCPT TO:
Implementations§
source§impl EnvelopData
impl EnvelopData
sourcepub fn needs_smtputf8(&self) -> bool
pub fn needs_smtputf8(&self) -> bool
true if any mail address is a internationalized one
Trait Implementations§
source§impl Clone for EnvelopData
impl Clone for EnvelopData
source§fn clone(&self) -> EnvelopData
fn clone(&self) -> EnvelopData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more