From d680c4227b5a689a1eedd6cd3d23974193b74db7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Pei=C3=9Fl?= <7underlines@gmail.com> Date: Wed, 15 Jan 2025 19:24:36 +0100 Subject: [PATCH] net.smtp: make public the Attachment fields (to be used as plain structs in initialisation) (#23477) --- vlib/net/smtp/smtp.v | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vlib/net/smtp/smtp.v b/vlib/net/smtp/smtp.v index 87ed6b288e4679..30fa64e84f802f 100644 --- a/vlib/net/smtp/smtp.v +++ b/vlib/net/smtp/smtp.v @@ -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