1
0
Fork 0

Adding upstream version 3.6.2.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-05-22 21:13:13 +02:00
parent 1347af6294
commit cb9cbb7a25
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
32 changed files with 4944 additions and 0 deletions

13
writer.go Normal file
View file

@ -0,0 +1,13 @@
package mailyak
import "bytes"
// BodyPart is a buffer holding the contents of an email MIME part.
type BodyPart struct{ bytes.Buffer }
// Set accepts a string s as the contents of a BodyPart, replacing any existing
// data.
func (w *BodyPart) Set(s string) {
w.Reset()
w.WriteString(s)
}