swift-smtp icon indicating copy to clipboard operation
swift-smtp copied to clipboard

Implement further transmission options of email contents

Open ffried opened this issue 4 years ago • 1 comments
trafficstars

Certain servers have problems if the lines get too long. #6 describes a case where the server simply truncates the lines and thus the email appears blank when delivered.

This could be resolved by adding further transmission options. The following options come to mind:

  • base64-only option with the ability to specify the maximum line length
  • a line-limit option which manually inserts CRLF's after a given line length

ffried avatar Oct 12 '21 16:10 ffried

I think the proper resolution is as I described previously - base64 encode everything, including plaintext with a maximum line length of 76. I think this is the only way to guarantee full compatibility

lmcd avatar Oct 12 '21 17:10 lmcd