From dd0bd60627e5994065a1d2b230292cd6b7ad1419 Mon Sep 17 00:00:00 2001 From: Confidence Okoghenun Date: Sun, 27 Aug 2023 22:43:48 +0100 Subject: [PATCH] docs: Adds imports for smtpclientbuilder --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index e272e1e..824154a 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,9 @@ _mail-send_ is a Rust library to build, sign and send e-mail messages via SMTP. Send a message via an SMTP server that requires authentication: ```rust + use mail_send::SmtpClientBuilder; + use mail_builder::MessageBuilder; + // Build a simple multipart message let message = MessageBuilder::new() .from(("John Doe", "john@example.com")) @@ -52,6 +55,9 @@ Send a message via an SMTP server that requires authentication: Sign a message with DKIM and send it via an SMTP relay server: ```rust + use mail_send::SmtpClientBuilder; + use mail_builder::MessageBuilder; + // Build a simple text message with a single attachment let message = MessageBuilder::new() .from(("John Doe", "john@example.com"))