Function mailslurp::apis::inbox_controller_api::send_email[][src]

pub async fn send_email(
    configuration: &Configuration,
    params: SendEmailParams
) -> Result<(), Error<SendEmailError>>

Send an email from an inbox’s email address. The request body should contain the SendEmailOptions that include recipients, attachments, body etc. See SendEmailOptions for all available properties. Note the inboxId refers to the inbox’s id not the inbox’s email address. See https://www.mailslurp.com/guides/ for more information on how to send emails. This method does not return a sent email entity due to legacy reasons. To send and get a sent email as returned response use the sister method sendEmailAndConfirm.