net.smtp: make public the Attachment fields (to be used as plain structs in initialisation) (#23477)

This commit is contained in:
Thomas Peißl 2025-01-15 19:24:36 +01:00 committed by GitHub
parent db8d2510a2
commit d680c4227b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -61,9 +61,10 @@ pub:
}
pub struct Attachment {
pub:
cid string
filename string
bytes []u8
cid string
}
// new_client returns a new SMTP client and connects to it