librelist archives

« back to archive

What is automatic configuration?

What is automatic configuration?

From:
Robert La Ferla
Date:
2014-06-23 @ 17:10
What is automatic configuration?  Why is there no ObjC counterpart?  Not needed?


        virtual bool isAutomaticConfigurationDone();
        virtual void resetAutomaticConfigurationDone();

void IMAPAsyncConnection::setAutomaticConfigurationEnabled(bool enabled)
{
    mAutomaticConfigurationEnabled = enabled;
    mSession->setAutomaticConfigurationEnabled(enabled);
}

Re: [mailcore] What is automatic configuration?

From:
Hoa V. Dinh
Date:
2014-06-23 @ 17:22
IMAPAsyncConnection is not part of the public API.  
When it’s enabled, on connection, It will call CAPABILITY on the server 
and parse the result to adapt the behavior of the IMAP client depending on
server capabilities.
It’s enabled by default.

There’s no such API on IMAPAsyncSession, which is the C++ API for MCOIMAPSession.
Therefore, there’s no API on MCOIMAPSession.

--  
Hoa V. Dinh


On Monday, June 23, 2014 at 10:10 AM, Robert La Ferla wrote:

> What is automatic configuration?  Why is there no ObjC counterpart?  Not needed?
>  
>  
>         virtual bool isAutomaticConfigurationDone();
>         virtual void resetAutomaticConfigurationDone();
>  
> void< /span> IMAPAsyncConnection::setAutomaticConfigurationEnabled(bool enabled)
> {
>     mAutomaticConfigurationEnabled = enabled;
>     mSession->setAutomaticConfigurationEnabled(enabled);
> }
>  
>  
>  
>  
>