Check-in [9c12e26fb6]
Logged in as anonymous
Overview
Comment:also parse Sender header
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 9c12e26fb645fc24ecc19b945478a99a5d53c8d77cd57a676031bf74efd9cfa5
User & Date: arcade on 2024-05-22 19:09:46.823
Other Links: manifest | tags
Context
2024-05-22
19:09
add Cargo.lock check-in: de3087f832 user: arcade tags: trunk
19:09
also parse Sender header check-in: 9c12e26fb6 user: arcade tags: trunk
15:11
fix parsing a little... check-in: 03fe0265ac user: arcade tags: trunk
Changes
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
					} else if let Some(thread) = mail.thread_name() {
						reply.push(format!("**Thread:** `{}`", thread).into());
					}
					if let Some(from) = mail.from() {
						reply.push(format!("**From:** `{:?}`", address_into_iter(from).collect::<Vec<_>>().join(", ")).into());
					}
					if let Some(sender) = mail.sender() {
						reply.push(format!("**Sender:** `{:?}`", sender).into());
					}
					reply.push("".into());
					let header_size = reply.join("\n").len() + 1;

					let html_parts = mail.html_body_count();
					let text_parts = mail.text_body_count();
					let attachments = mail.attachment_count();







|







95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
					} else if let Some(thread) = mail.thread_name() {
						reply.push(format!("**Thread:** `{}`", thread).into());
					}
					if let Some(from) = mail.from() {
						reply.push(format!("**From:** `{:?}`", address_into_iter(from).collect::<Vec<_>>().join(", ")).into());
					}
					if let Some(sender) = mail.sender() {
						reply.push(format!("**Sender:** `{:?}`", address_into_iter(sender).collect::<Vec<_>>().join(", ")).into());
					}
					reply.push("".into());
					let header_size = reply.join("\n").len() + 1;

					let html_parts = mail.html_body_count();
					let text_parts = mail.text_body_count();
					let attachments = mail.attachment_count();