Hi,
before version 22.4 there was no issue about subject decoding.
After release 22.4 (included) of Aspose.Email, mail subject is now wrongly decoded.
ex.
Original Subject decoded into a desktop client:
CONSEGNA: XXX - Arch N°1421 - Trasmissione "bollettino dati e misure" mese di Maggio 2022 - [RIF.PROT.:8080/2022]
Wrongly decoded value:
CONSEGNA: XXX - Arch N°1421 - Trasmissione olletti?= no dati e misuremese_di_Maggio_2022_-_[RIF.PROT.:8080/2022]?=
The issue is also present into latest version 22.6
This is a sample eml file.
sampleMail_BadSubject.zip (912 Bytes)
The code to use is the simple call to load method of MailMessage:
var bytes = <load here eml bytes>
var mm = MailMessage.Load(new MemoryStream(bytes));
var subject = mm.Subject;