Under the messages specification, the spec says:

- *  from*: Emailer[]|null An array of name/email objects (see below) 
representing the parsed From header of the email, in the same order as they 
appear in the header. If the email  doesn’t have a From header, this is null. 
If the header exists but does not have any content, the response is an 
array of zero length. 
- *  to*: Emailer[]|null An array of name/email objects (see below) 
representing the parsed To header of the email, in the same order as they 
appear in the header. If the email doesn’t have a To header, this is null. 
If the header exists but does not have any content, the response is an 
array of zero length.
- 
- So from/to are both arrays of hashes (speaking in Perl terms here).

Under setMessages - "Saving a Draft"

- *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.

However it looks like from is actually just a hash, and to is still an 
array (at least as far as the JMAP Proxy is concerned).

It might be useful to update this section with the datatype of each arg?

Thanks,

-- Matthew Horsfall (alh)

-- 
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/90a6d61b-2eb1-46f9-a3e5-165941b088e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to