User Activity

  • Posted a comment on merge request #8 on Aegis Implicit Mail (AIM)

    Proposed fix for Ticket #17 (Email not send if attachment used)

  • Created merge request #8 on Aegis Implicit Mail (AIM)

    Fix: Adding an attachment results to error '554 Too long line was received.' from server.

  • Committed [27fb3f]

    Fix: Adding an attachment results to error '554 Too long line was received.' from server.

  • Posted a comment on ticket #17 on Aegis Implicit Mail (AIM)

    Attachment is sent as a base64-encoded string and it looks like some email servers (hMailServer in my case) have limits for string length . So basically I just split one huge line to smaller parts.

  • Posted a comment on ticket #17 on Aegis Implicit Mail (AIM)

    Had the same issue, mail server reported: "554 Too long line was received" when I tried to add an attachment. Fixed it by adding "\r\n" to stream chunks in SmtpSocketClient.cs, at the end of SendAttachments() method: ... char[] bufln = new char[2] { '\r', '\n' }; while (num > 0) { _con.SendData(Encoding.ASCII.GetChars(fbuf, 0, num), 0, num); _con.SendData(bufln, 0, 2); // <-------- num = cs.Read(fbuf, 0, 2048); } ...

View All

Personal Data

Username:
dimex
Joined:
2019-04-14 12:18:44
Gender:
Male

Projects

  • No projects to display.

Skills

This is a list of skills that Dmitry N possesses:

  • C#

Personal Tools