diff --git a/src/email.rs b/src/email.rs index 5cbfea5..1809dce 100644 --- a/src/email.rs +++ b/src/email.rs @@ -109,6 +109,11 @@ fn take_firstname_lastname_pair(attrs: &mut Vec<(String, String)>) -> Option { fn build_body(html: String, text: String) -> Result> { let logo = Attachment::new_inline("pg-logo".to_string()) .body(LOGO_PNG.to_vec(), "image/png".parse::()?); + let check = Attachment::new_inline("pg-check".to_string()) + .body(CHECK_PNG.to_vec(), "image/png".parse::()?); let related = MultiPart::related() .singlepart(SinglePart::html(html)) - .singlepart(logo); + .singlepart(logo) + .singlepart(check); Ok(MultiPart::alternative() .singlepart(SinglePart::plain(text)) diff --git a/templates/email/check.png b/templates/email/check.png new file mode 100644 index 0000000..8e107da Binary files /dev/null and b/templates/email/check.png differ diff --git a/templates/email/email.html b/templates/email/email.html index 3859648..194a53e 100644 --- a/templates/email/email.html +++ b/templates/email/email.html @@ -42,7 +42,9 @@ {% if sender_email != "" %}
- + + +

{{files_from}}

{{sender_email}}