1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2008 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 --> 16 17 <!-- 18 This file contains configuration data for commonly-used email providers. 19 20 ==== CONTENT GUIDELINES ==== 21 22 This file should only be used for email providers that are considered "universal" 23 and are appropriate for *all* android platform devices. These entries must be accessible 24 from all networks. It should be reasonable for any user to obtain an account on these 25 networks, and test accounts must be easily obtainable. No entries should be added 26 that are device, product, or carrier-specific. 27 28 Entries that are device, product or carrier-specific should be added as overlays 29 in the appropriate providers_product.xml file. 30 31 ==== FORMAT OF ENTRIES ==== 32 33 This file is used to specify providers that we know default settings for 34 so that the user can set up their account by simply entering their email 35 address and password. 36 37 When a user starts this process, the email address is parsed, the domain 38 broken out and used to search this file for a provider. If one is found the 39 provider's settings are used to attempt to connect to the account. 40 41 At this time, the id and label attributes are not used. However, please include them 42 if you make edits to this file. id must also be completely unique. label will be shown 43 to the user when there are multiple options provided for a single domain (not currently 44 supported). 45 46 A provider contains the settings for setting up an email account 47 that ends with the given domain. Domains should be unique within 48 this file. Each provider should have at least one incoming section and 49 one outgoing section. If more than one is specified only the first 50 will be used. 51 52 Valid incoming uri schemes are: 53 imap IMAP with no transport security. 54 imap+tls+ IMAP with required TLS transport security. 55 If TLS is not available the connection fails. 56 imap+ssl+ IMAP with required SSL transport security. 57 If SSL is not available the connection fails. 58 59 pop3 POP3 with no transport security. 60 pop3+tls+ POP3 with required TLS transport security. 61 If TLS is not available the connection fails. 62 pop3+ssl+ POP3 with required SSL transport security. 63 If SSL is not available the connection fails. 64 65 Valid outgoing uri schemes are: 66 smtp SMTP with no transport security. 67 smtp+tls+ SMTP with required TLS transport security. 68 If TLS is not available the connection fails. 69 smtp+ssl+ SMTP with required SSL transport security. 70 If SSL is not available the connection fails. 71 72 To the above schemes you may also add "trustallcerts" to indicate that, 73 although link encryption is still required, "non-trusted" certificates may 74 will be excepted. For example, "imap+ssl+trustallcerts" or 75 "smtp+tls+trustallcerts". This should only used when necessary, as it 76 could allow a spoofed server to intercept password and mail. 77 78 The URIs should be full templates for connection, including a port if 79 the service uses a non-default port. The default ports are as follows: 80 imap 143 pop3 110 smtp 587 81 imap+tls+ 143 pop3+tls+ 110 smtp+tls+ 587 82 imap+ssl+ 993 pop3+ssl+ 995 smtp+ssl+ 465 83 84 The username attribute is used to supply a template for the username 85 that will be presented to the server. This username is built from a 86 set of variables that are substituted with parts of the user 87 specified email address. 88 89 Valid substitution values for the username attribute are: 90 $email - the email address the user entered 91 $user - the value before the @ sign in the email address the user entered 92 $domain - the value after the @ signin the email address the user entered 93 94 The username attribute MUST be specified for the incoming element, so the POP3 or IMAP 95 server can identify the mailbox to be opened. 96 97 The username attribute MAY be the empty string for the outgoing element, but only if the 98 SMTP server supports anonymous transmission (most don't). 99 --> 100 101 <providers> 102 103 <!-- Gmail variants --> 104 <provider id="gmail" label="Gmail" domain="gmail.com"> 105 <incoming uri="imap+ssl+://imap.gmail.com" username="$email" /> 106 <outgoing uri="smtp+ssl+://smtp.gmail.com" username="$email" /> 107 </provider> 108 <provider id="googlemail" label="Google Mail" domain="googlemail.com"> 109 <incoming uri="imap+ssl+://imap.googlemail.com" username="$email" /> 110 <outgoing uri="smtp+ssl+://smtp.googlemail.com" username="$email" /> 111 </provider> 112 <provider id="google" label="Google" domain="google.com"> 113 <incoming uri="imap+ssl+://imap.gmail.com" username="$email" /> 114 <outgoing uri="smtp+ssl+://smtp.gmail.com" username="$email" /> 115 </provider> 116 <provider id="android" label="Android" domain="android.com"> 117 <incoming uri="imap+ssl+://imap.gmail.com" username="$email" /> 118 <outgoing uri="smtp+ssl+://smtp.gmail.com" username="$email" /> 119 </provider> 120 121 <!-- USA --> 122 <!-- Note, AOL appears to support SSL on both sides, as well --> 123 <provider id="aim" label="AIM" domain="aim.com"> 124 <incoming uri="imap://imap.aim.com" label="IMAP" username="$email" /> 125 <outgoing uri="smtp://smtp.aim.com" username="$email" /> 126 </provider> 127 <!-- Note, AOL appears to support SSL on both sides, as well --> 128 <provider id="aol" label="AOL" domain="aol.com"> 129 <incoming uri="imap://imap.aol.com" label="IMAP" username="$email" /> 130 <outgoing uri="smtp://smtp.aol.com" username="$email" /> 131 </provider> 132 <provider id="comcast" label="Comcast" domain="comcast.net"> 133 <incoming uri="pop3+ssl+://mail.comcast.net" username="$user" /> 134 <outgoing uri="smtp+ssl+://smtp.comcast.net" username="$user" /> 135 </provider> 136 <provider id="compuserve" label="CompuServe" domain="cs.com"> 137 <incoming uri="imap://imap.cs.com" username="$user" /> 138 <outgoing uri="smtp://smtp.cs.com" username="$user" /> 139 </provider> 140 <provider id="cox" label="Cox" domain="cox.net"> 141 <incoming uri="pop3+ssl+://pop.east.cox.net" username="$user" /> 142 <outgoing uri="smtp+ssl+://smtp.east.cox.net" username="$user" /> 143 </provider> 144 <provider id="dotmac" label=".Mac" domain="mac.com"> 145 <incoming uri="imap+ssl+://mail.mac.com" username="$email" /> 146 <outgoing uri="smtp+tls+trustallcerts://smtp.mac.com" username="$email" /> 147 </provider> 148 <provider id="earthlink" label="Earthlink" domain="earthlink.net"> 149 <incoming uri="pop3://pop.earthlink.net" username="$email" /> 150 <outgoing uri="smtp://smtpauth.earthlink.net:587" username="$email" /> 151 </provider> 152 <provider id="juno" label="Juno" domain="juno.com"> 153 <incoming uri="pop3://pop.juno.com" username="$user" /> 154 <outgoing uri="smtp://smtp.juno.com" username="$user" /> 155 </provider> 156 <provider id="live" label="Windows Live Hotmail Plus" domain="live.com" 157 note="@string/provider_note_live"> 158 <incoming uri="pop3+ssl+://pop3.live.com" username="$email" /> 159 <outgoing uri="smtp+tls+://smtp.live.com" username="$email" /> 160 </provider> 161 <provider id="hotmail" label="Windows Live Hotmail Plus" domain="hotmail.com" 162 note="@string/provider_note_live"> 163 <incoming uri="pop3+ssl+://pop3.live.com" username="$email" /> 164 <outgoing uri="smtp+tls+://smtp.live.com" username="$email" /> 165 </provider> 166 <provider id="msn" label="Windows Live Hotmail Plus" domain="msn.com" 167 note="@string/provider_note_live"> 168 <incoming uri="pop3+ssl+://pop3.live.com" username="$email" /> 169 <outgoing uri="smtp+tls+://smtp.live.com" username="$email" /> 170 </provider> 171 <!-- Note: Mac Mail.app sets IMAP to mail.mac.com, but it's the same server --> 172 <provider id="mobileme" label="MobileMe" domain="me.com"> 173 <incoming uri="imap+ssl+://mail.me.com" username="$email" /> 174 <outgoing uri="smtp+tls+trustallcerts://smtp.me.com" username="$email" /> 175 </provider> 176 <provider id="netzero" label="NetZero" domain="netzero.com"> 177 <incoming uri="pop3://pop.netzero.com" username="$user" /> 178 <outgoing uri="smtp://smtp.netzero.com" username="$user" /> 179 </provider> 180 <provider id="sbcglobal" label="SBC Global" domain="sbcglobal.net"> 181 <incoming uri="pop3://pop.sbcglobal.yahoo.com" username="$email" /> 182 <outgoing uri="smtp://smtp.sbcglobal.yahoo.com" username="$email" /> 183 </provider> 184 <provider id="verizon" label="Verizon" domain="verizon.net"> 185 <incoming uri="pop3://incoming.verizon.net" username="$user" /> 186 <outgoing uri="smtp://outgoing.verizon.net" username="$user" /> 187 </provider> 188 <provider id="yahoo" label="Yahoo Plus" domain="yahoo.com" note="@string/provider_note_yahoo"> 189 <incoming uri="pop3+ssl+://plus.pop.mail.yahoo.com" username="$user" /> 190 <outgoing uri="smtp+ssl+://plus.smtp.mail.yahoo.com" username="$user" /> 191 </provider> 192 193 <!-- UK --> 194 <provider id="aol-uk" label="AOL" domain="aol.co.uk"> 195 <incoming uri="imap+ssl+://imap.uk.aol.com" label="IMAP" username="$user" /> 196 <outgoing uri="smtp+ssl+://smtp.uk.aol.com" username="$user" /> 197 </provider> 198 <provider id="bt" label="BT Internet" domain="btinternet.com"> 199 <incoming uri="pop3://mail.btinternet.com" username="$email" /> 200 <outgoing uri="smtp://mail.btinternet.com" username="" /> 201 </provider> 202 <provider id="yahoo-uk" label="Yahoo" domain="yahoo.co.uk" note="@string/provider_note_yahoo_uk"> 203 <incoming uri="pop3+ssl+://pop.mail.yahoo.co.uk" username="$user" /> 204 <outgoing uri="smtp+ssl+://smtp.mail.yahoo.co.uk" username="$user" /> 205 </provider> 206 207 <!-- Germany --> 208 <provider id="freenet" label="Freenet" domain="freenet.de"> 209 <incoming uri="pop3://mx.freenet.de" username="$user" /> 210 <outgoing uri="smtp+ssl://mx.freenet.de" username="$email" /> 211 </provider> 212 <provider id="gmx" label="GMX" domain="gmx.de"> 213 <incoming uri="pop3://pop.gmx.net" username="$email" /> 214 <outgoing uri="smtp://mail.gmx.net" username="$email" /> 215 </provider> 216 <provider id="T-Online" label="T-Online" domain="t-online.de" 217 note="@string/provider_note_t_online"> 218 <incoming uri="pop3://popmail.t-online.de" username="$email" /> 219 <outgoing uri="smtp://smtpmail.t-online.de" username="$email" /> 220 </provider> 221 <provider id="web.de" label="Web.de" domain="web.de"> 222 <incoming uri="pop3://pop3.web.de" username="$user" /> 223 <outgoing uri="smtp://smtp.web.de" username="$user" /> 224 </provider> 225 226 <!-- Netherlands --> 227 <!-- TODO: For all of these, please confirm POP3, and switch to IMAP if supported --> 228 <!-- TODO: username="" in incoming element is broken - will not work --> 229 <!-- Disabled until username="" is resolved 230 <provider id="hetnet" label="Het Net" domain="hetnet.nl"> 231 <incoming uri="pop3://pop.hetnet.nl" username="" /> 232 <outgoing uri="smtp://mailhost.hetnet.nl" username="" /> 233 </provider> 234 --> 235 <!-- Disabled until test accounts provided 236 <provider id="planet inet" label="Planet Internet" domain="planet.nl"> 237 <incoming uri="pop3://pop.planet.nl" username="$user" /> 238 <outgoing uri="smtp://mail.planet.nl" username="" /> 239 </provider> 240 --> 241 <!-- TODO: username="" in incoming element is broken - will not work --> 242 <!-- Disabled until username="" is resolved 243 <provider id="tiscali" label="Tiscali" domain="tiscali.nl"> 244 <incoming uri="pop3://pop3.tiscali.nl" username="" /> 245 <outgoing uri="smtp://smtp.tiscali.nl" username="" /> 246 </provider> 247 --> 248 <!-- Disabled until test accounts provided 249 <provider id="wanadoo" label="Wanadoo" domain="wanadoo.nl"> 250 <incoming uri="pop3://pop.wanadoo.nl" username="$user" /> 251 <outgoing uri="smtp://smtp.wanadoo.nl" username="$user" /> 252 </provider> 253 --> 254 255 <!-- Poland --> 256 <provider id="onet" label="Onet.pl" domain="poczta.onet.pl"> 257 <incoming uri="pop3://pop3.poczta.onet.pl" username="$email" /> 258 <outgoing uri="smtp://smtp.poczta.onet.pl" username="$email" /> 259 </provider> 260 <provider id="wirtualna" label="Wirtualna Polska" domain="wp.pl"> 261 <incoming uri="pop3://pop3.wp.pl" username="$user" /> 262 <outgoing uri="smtp://smtp.wp.pl" username="$user" /> 263 </provider> 264 <provider id="interia" label="Interia" domain="interia.pl"> 265 <incoming uri="pop3+ssl://poczta.interia.pl" username="$user" /> 266 <outgoing uri="smtp+ssl://poczta.interia.pl" username="$user" /> 267 </provider> 268 <provider id="o2" label="O2" domain="o2.pl"> 269 <incoming uri="pop3+ssl://poczta.o2.pl" username="$user" /> 270 <outgoing uri="smtp+ssl://poczta.o2.pl" username="$user" /> 271 </provider> 272 273 </providers> 274