Skip to main content

send_email

Function send_email 

Source
pub async fn send_email(
    cfg: &EmailTransportConfig,
    msg: &OutboundEmail,
) -> Result<String, EmailError>
Expand description

Send a fully-specified email over the given BYO SMTP transport. Returns the Message-ID on success (for threading / provider-id records). Bounded by [SEND_TIMEOUT].