[Kolab-devel] mailto URIs in KEP#17 and libkolabxml
    Christian Mollekopf 
    mollekopf at kolabsys.com
       
    Fri Mar  9 10:59:39 CET 2012
    
    
  
On 2012-03-08 10:43, Jeroen van Meeuwen (Kolab Systems) wrote:
> On 2012-03-08 6:04, Christian Mollekopf wrote:
>> Hey,
>>
>> In the new format specifications we have mailto: uris in a couple of
>> places, and I'm not quite sure how to handle them.
>>
>> (...snip...)
>>
>> Any comments welcome =)
>>
>
> Stick to the RFCs, URL encoding and allowing for embedding a display
> name in the mailto: URL.
>
I changed it accordingly.
> FWIW, I found a particular, completely unrelated feature I enjoy in
> Python's email libraries; Whenever you pull an email address (say, 
> from
> the From/To/CC headers), you are always returned a tuple (name,
> address). I'm mentioning it, because perhaps this is how you can 
> build a
> consistent API for clients (so they know what to expect).
>
Yup, thanks for the hint.
I don't think we require such a mailto tuple, because we can even hide 
that mailto is used at all in our API.
Cheers,
Christian
    
    
More information about the devel
mailing list