mirror of
https://github.com/wneessen/go-mail.git
synced 2024-12-23 02:50:39 +01:00
The additional multipart start/stop are not needed here
This commit is contained in:
parent
d33f0e8004
commit
fe28247f9b
1 changed files with 0 additions and 4 deletions
|
@ -108,7 +108,6 @@ func (mw *msgWriter) writeMsg(m *Msg) {
|
|||
mw.startMP(`signed; protocol="application/pgp-signature";`, m.boundary)
|
||||
}
|
||||
mw.writeString(DoubleNewLine)
|
||||
mw.startMP("mixed", m.boundary)
|
||||
}
|
||||
|
||||
for _, p := range m.parts {
|
||||
|
@ -117,9 +116,6 @@ func (mw *msgWriter) writeMsg(m *Msg) {
|
|||
}
|
||||
}
|
||||
|
||||
if m.hasPGPType() {
|
||||
mw.stopMP()
|
||||
}
|
||||
if m.hasAlt() {
|
||||
mw.stopMP()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue