17 lines
305 B
Rust
17 lines
305 B
Rust
use crate::domain::SubscriberEmail;
|
|
|
|
pub struct EmailClient {
|
|
sender: SubscriberEmail,
|
|
}
|
|
|
|
impl EmailClient {
|
|
pub async fn send_email(
|
|
&self,
|
|
recipient: SubscriberEmail,
|
|
subject: &str,
|
|
html_content: &str,
|
|
text_content: &str,
|
|
) -> Result<(), String> {
|
|
todo!("send_email not implemented")
|
|
}
|
|
} |