Menu

#26 Synapse bugfixes

Release_35
closed-fixed
Geby
5
2021-06-12
2012-10-21
No

Hi Lukas,

Firstly, thank you very much for a great library!

I've encountered a couple of bugs for which I've attached a suggested patch.

Here are the issues:

1) If your locale is set to a multibyte character set then mail attachments are corrupted. This is easily confirmed by executing "SetMultiByteConversionCodePage(CP_UTF8);" before sending a message with an attachment. The problem lies in TMIMEPart.EncodePart and synachar.GetBOM.

2) The "Contect-ID" field value in the MIME header should be enclosed in angled brackets according to the MIME RFC. Without the angled brackets some mail clients reject images embedded in the HTML body, e.g. GMail.

3) There is a compiler warning in TMimeMess.AddPartText which I've fixed.

Thanks again.

Best regards,
Pierre le Riche

Discussion

  • Pierre le Riche

    Pierre le Riche - 2012-10-21
     
  • Geby

    Geby - 2021-06-12
    • status: open --> closed-fixed
    • Group: --> Release_35
     
  • Geby

    Geby - 2021-06-12

    Thank you!

     

Log in to post a comment.