<clientConfig version="1.1">
    <emailProvider id="d2n.fr">
      <domain>d2n.fr</domain>

      <displayName>D2N</displayName>
      <displayShortName>D2N</displayShortName>

      <incomingServer type="imap">
         <hostname>outlook.office365.com</hostname>
         <port>993</port>
         <socketType>SSL</socketType>
         <username>%EMAILADDRESS%</username>
         <authentication>password-cleartext</authentication>
      </incomingServer>

      <outgoingServer type="smtp">
         <hostname>outlook.office365.com</hostname>
         <port>587</port>
         <socketType>STARTTLS</socketType> <!-- see above -->
         <username>%EMAILADDRESS%</username> <!-- if smtp-auth -->
         <authentication>password-cleartext</authentication>
         <addThisServer>true</addThisServer>
         <useGlobalPreferredServer>true</useGlobalPreferredServer>
      </outgoingServer>

      <!-- Add this only when users (who already have an account) have to
           do something before the account can work with IMAP/POP or SSL.
           Note: Per XML, & (ampersand) needs to be escaped to & a m p ;
           (without spaces).
           Not yet implemented, see bug 586364. -->
      <!--<enable visiturl="http://autoconfig.d2n.fr/">
           <instruction>Instructions</instruction>
           <instruction lang="fr">Instructions</instruction>
      </enable>-->

      <!-- A page where the ISP describes the configuration.
           This is purely informational and currently mainly for
           maintenance of the files and not used by the client at all.
           Note that we do not necessarily use exactly the config suggested
           by the ISP, e.g. when they don't recommend SSL, but it's available,
           we will configure SSL.
           The text content should contains a description in the native
           language of the ISP (customers), and a short English description,
           mostly for us.
      -->
     <!-- <instruction url="http://autoconfig.d2n.fr/">
         <descr lang="en">Configure Thunderbird for IMAP</descr>
         <descr lang="fr">Configurer Thunderbird avec IMAP</descr>
      </instruction>-->

    </emailProvider>

    <!--<clientConfigUpdate url="https://autoconfig.d2n.fr/thunderbird.xml" />-->

</clientConfig>
