Skip to content

Commit

Permalink
net.smtp: make public the Attachment fields (to be used as plain stru…
Browse files Browse the repository at this point in the history
…cts in initialisation) (vlang#23477)
  • Loading branch information
7underlines authored Jan 15, 2025
1 parent db8d251 commit d680c42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vlib/net/smtp/smtp.v
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d680c42

Please sign in to comment.