Archived Forum Post

Index of archived forum posts

Question:

CKO Email Using AddHeaderField Inserts Extra Characters in the fieldValue

Nov 22 '14 at 15:08

I'm trying to use cko Email to send email on iOS. When trying to add a header, the value gets extra spaces or quotations.

EG, if I try to add the fieldValue "Property1=Value1;Property2=Value 2;". The mime will contain "Property1=Value1;rntProperty2="Value 2";". The three characters "rnt" get added after the ";" and value 2 gets surrounded by quotations.

Is there a way to stop that from happening?


Accepted Answer

Unfortunately, it is not possible to prevent.

This is a MIME header field continuation line. Continuation lines are a fundamental part of the MIME format. Any MIME reader or writer SHOULD be able to unfold MIME continuation lines.

When a MIME continuation line is unfolded, it results in the same content (i.e. header field value) that would exist had the MIME header not been folded.