summarylogtreecommitdiffstats
path: root/mozilla-account-configuration.php
blob: d4cb569e0e75b08f0d9b2c0e686af223769b7632 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<clientConfig version="1.1">
  <emailProvider id="<?php echo($_SERVER['HTTP_HOST']); ?>">
    <domain><?php echo($_SERVER['HTTP_HOST']); ?></domain>
    <displayName><?php echo($_SERVER['HTTP_HOST']); ?></displayName>
    <displayShortName><?php echo($_SERVER['HTTP_HOST']); ?></displayShortName>
    <incomingServer type="imap">
      <hostname><?php echo($_SERVER['HTTP_HOST']); ?></hostname>
      <port>993</port>
      <socketType>SSL</socketType>
      <username>%EMAILADDRESS%</username>
      <authentication>password-cleartext</authentication>
    </incomingServer>
    <incomingServer type="pop3">
      <hostname><?php echo($_SERVER['HTTP_HOST']); ?></hostname>
      <port>995</port>
      <socketType>SSL</socketType>
      <username>%EMAILADDRESS%</username>
      <authentication>password-cleartext</authentication>
    </incomingServer>
    <outgoingServer type="smtp">
      <hostname><?php echo($_SERVER['HTTP_HOST']); ?></hostname>    
      <port>465</port>
      <socketType>SSL</socketType>
      <username>%EMAILADDRESS%</username>
      <authentication>password-cleartext</authentication>
    </outgoingServer>
  </emailProvider>
</clientConfig>