mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
net.smtp: make public the Attachment fields (to be used as plain structs in initialisation) (#23477)
This commit is contained in:
parent
db8d2510a2
commit
d680c4227b
1 changed files with 2 additions and 1 deletions
|
@ -61,9 +61,10 @@ pub:
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct Attachment {
|
pub struct Attachment {
|
||||||
|
pub:
|
||||||
|
cid string
|
||||||
filename string
|
filename string
|
||||||
bytes []u8
|
bytes []u8
|
||||||
cid string
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// new_client returns a new SMTP client and connects to it
|
// new_client returns a new SMTP client and connects to it
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue