|
@ -688,7 +688,7 @@ async fn send_with_selected_transport(email: Message) -> EmptyResult { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
#[cfg(not(ses))] |
|
|
#[cfg(not(ses))] |
|
|
err!("Failed to send email", "Failed to send email using AWS SES: `ses` feature is not enabled"); |
|
|
unreachable!("Failed to send email using AWS SES: `ses` feature is not enabled"); |
|
|
} else { |
|
|
} else { |
|
|
match smtp_transport().send(email).await { |
|
|
match smtp_transport().send(email).await { |
|
|
Ok(_) => Ok(()), |
|
|
Ok(_) => Ok(()), |
|
|