GODT-213: Remove dead code GetRelatedHeader/GetRelatedBoundary

This commit is contained in:
James Houlahan
2021-04-14 09:58:39 +02:00
parent 4850681f1d
commit 1359c39bc0
2 changed files with 0 additions and 12 deletions

View File

@ -101,12 +101,6 @@ func GetBodyHeader(m *pmapi.Message) textproto.MIMEHeader {
return h
}
func GetRelatedHeader(m *pmapi.Message) textproto.MIMEHeader {
h := make(textproto.MIMEHeader)
h.Set("Content-Type", "multipart/related; boundary="+GetRelatedBoundary(m))
return h
}
func GetAttachmentHeader(att *pmapi.Attachment, buildForIMAP bool) textproto.MIMEHeader {
mediaType := att.MIMEType
if mediaType == "application/pgp-encrypted" {