You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe it's better to add net.smtp.Attachment struct, and then attachments []Attachment field to net.smtp.Mail.
Every attachment contains:
representation of a file, either its path or []u8 buffer -- I'm new to Vlang, so I don't know how the implementaion should be done;
file mime type, if it is required by RFC;
...
Also, I quickly gone through the RFC. This part might help...
For example, a two part message consisting of a text and a
BASE64-encoded text attachment can have a body structure of: (("TEXT" "PLAIN" ("CHARSET" "US-ASCII") NIL NIL "7BIT" 1152 23)("TEXT" "PLAIN" ("CHARSET" "US-ASCII" "NAME" "cc.diff") "<[email protected]>" "Compiler diff" "BASE64" 4554 73) "MIXED")
Other Information
No response
Acknowledgements
I may be able to implement this feature request
This feature might incur a breaking change
Version used
0.4.3
Environment details (OS name and version, etc.)
V full version: V 0.4.3 55cac88.373da77
OS: linux, "Artix Linux"
Processor: 12 cpus, 64bit, [***]
getwd: /home/[***]
vexe: /home/[***]/v/v
vexe mtime: 2023-11-17 13:38:45
vroot: OK, value: /home/[***]/v
VMODULES: OK, value: /home/[***]/.vmodules
VTMP: OK, value: /tmp/v_1000
Git version: git version 2.42.1
Git vroot status: weekly.2023.45.1-65-g373da777 (3 commit(s) behind V master)
.git/config present: true
CC version: cc (GCC) 13.2.1 20230801
thirdparty/tcc status: thirdparty-linux-amd64 12f392c3
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered:
Describe the feature
Possibility to add attachments to an email.
Use Case
Proposed Solution
Maybe it's better to add
net.smtp.Attachment
struct, and thenattachments []Attachment
field tonet.smtp.Mail
.Every attachment contains:
Also, I quickly gone through the RFC. This part might help...
Other Information
No response
Acknowledgements
Version used
0.4.3
Environment details (OS name and version, etc.)
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: