Re: tny_camel_account_add_option(): Possible options



On Fri, 2007-05-11 at 08:57 +0200, Murray Cumming wrote:
> On Thu, 2007-05-10 at 23:19 +0200, Philip Van Hoof wrote:
> > On Thu, 2007-05-10 at 18:44 +0200, Murray Cumming wrote:
> > > How can I discover what options are possible with
> > > tny_camel_account_add_option()? The documentation only mentions
> > > * use_ssl=never
> > > * use_ssl=always
> > > * use_ssl=when-possible (means use TLS, which seems odd)
> > 
> > I agree, when-possible is a strange value for what it does. This is
> > Camel though (I didn't want to go ahead and change all that into saner
> > values, maybe we should .. though).
> > 
> > > Are these options specific to camel only? Are they documented anywhere
> > > in camel? Or are they part of some standard?
> > 
> > Yes, they are specific for Camel.
> > 
> > > For instance, how would I specify authentication methods such as
> > > password and CramMD5?
> > 
> > That's documented i Camel's documentation. Although I'd be okay with
> > getting it documented in libtinymail-camel's gtk-doc API ref. manual.
> 
> Could you tell me where it's documented?


Hmm, I'm indeed not finding it. So it's not really documented.

>From the code, though, I know that always, never and when-possible are
the only possibilities (for IMap).


> > > Are there plans to make generic TnyAccount API for these rather than
> > > leaving this to the specific TnyCamelAccount API?
> > 
> > No, not really. Because this is indeed truly specific for Camel and I
> > don't yet want to burden the implementer of a future such library to
> > have to deal with this crazyness
> 
> I guess that all mail clients would need to specify secure connections
> and authentication, however. I don't meant that we should use the option
> strings for this.

Yeah

> 
-- 
Philip Van Hoof, software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
http://www.pvanhoof.be/blog







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]