zero-to-production/src/email_client.rs

15 lines
261 B
Rust
Raw Normal View History

2021-01-10 17:27:54 +00:00
use crate::domain::SubscriberEmail;
pub struct EmailClient;
impl EmailClient {
pub async fn send_email(
&self,
recipient: SubscriberEmail,
subject: &str,
content: &str,
) -> Result<(), String> {
todo!()
}
}