On Tue, 30 Aug 2016, at 12:11 PM, [email protected] wrote:
>  * *from*: Optional. Overrides a “From” in the *headers*.
>  * *to*: Optional. Overrides a “To” in the *headers*.
>
> Since this doesn't specify a different data type, I expect these to
> both be arrays of hashes.

The "headers" property has a datatype of String[ String ] –  it is a
hash of the raw headers. The from/to properties are parsed versions of
these headers. What the spec is saying here is that if you set both in a
setMessages, the to/from property (serialised to RFC2822 format) will
overwrite the value in the "headers" hash.

Neil.

-- 
You received this message because you are subscribed to the Google Groups 
"JMAP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jmap-discuss/1472527402.468416.709891817.485EBCA2%40webmail.messagingengine.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to