mirror of
https://github.com/wneessen/go-mail.git
synced 2024-11-25 23:15:08 +01:00
Update common content types in encoding.go
The list of common content types in encoding.go has been revised. The type "multipart/alternative" has been added and the order of types has been adjusted for consistency with net/smtp upstream.
This commit is contained in:
parent
8b19e497a0
commit
0d9ba278fe
1 changed files with 6 additions and 5 deletions
|
@ -138,11 +138,12 @@ const (
|
||||||
|
|
||||||
// List of common content types
|
// List of common content types
|
||||||
const (
|
const (
|
||||||
TypeTextPlain ContentType = "text/plain"
|
|
||||||
TypeTextHTML ContentType = "text/html"
|
|
||||||
TypeAppOctetStream ContentType = "application/octet-stream"
|
TypeAppOctetStream ContentType = "application/octet-stream"
|
||||||
|
TypeMultipartAlternative ContentType = "multipart/alternative"
|
||||||
TypePGPSignature ContentType = "application/pgp-signature"
|
TypePGPSignature ContentType = "application/pgp-signature"
|
||||||
TypePGPEncrypted ContentType = "application/pgp-encrypted"
|
TypePGPEncrypted ContentType = "application/pgp-encrypted"
|
||||||
|
TypeTextHTML ContentType = "text/html"
|
||||||
|
TypeTextPlain ContentType = "text/plain"
|
||||||
)
|
)
|
||||||
|
|
||||||
// List of MIMETypes
|
// List of MIMETypes
|
||||||
|
|
Loading…
Reference in a new issue