emails-help 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +172 -2
- package/dist/chunk-OIVBYFTS.js +1665 -0
- package/dist/cli.cjs +1782 -0
- package/dist/cli.d.cts +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +110 -0
- package/dist/index.cjs +1711 -0
- package/dist/index.d.cts +272 -0
- package/dist/index.d.ts +272 -0
- package/dist/index.js +26 -0
- package/package.json +61 -4
package/dist/cli.cjs
ADDED
|
@@ -0,0 +1,1782 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
"use strict";
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
18
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
19
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
20
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
21
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
22
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
23
|
+
mod
|
|
24
|
+
));
|
|
25
|
+
|
|
26
|
+
// src/autoconfig.ts
|
|
27
|
+
function autoconfigUrls(domain) {
|
|
28
|
+
return [
|
|
29
|
+
{ method: "autoconfig", url: `https://autoconfig.${domain}/mail/config-v1.1.xml` },
|
|
30
|
+
{ method: "well-known", url: `https://${domain}/.well-known/autoconfig/mail/config-v1.1.xml` }
|
|
31
|
+
];
|
|
32
|
+
}
|
|
33
|
+
function ispdbUrl(domain) {
|
|
34
|
+
return `https://autoconfig.thunderbird.net/v1.1/${domain}`;
|
|
35
|
+
}
|
|
36
|
+
function tagText(block, tag) {
|
|
37
|
+
const match = new RegExp(`<${tag}[^>]*>([\\s\\S]*?)</${tag}>`, "i").exec(block);
|
|
38
|
+
return match === null ? null : match[1].trim();
|
|
39
|
+
}
|
|
40
|
+
function toSecurity(raw) {
|
|
41
|
+
switch ((raw ?? "").trim().toUpperCase()) {
|
|
42
|
+
case "SSL":
|
|
43
|
+
return "ssl";
|
|
44
|
+
case "STARTTLS":
|
|
45
|
+
return "starttls";
|
|
46
|
+
case "PLAIN":
|
|
47
|
+
case "NONE":
|
|
48
|
+
return "none";
|
|
49
|
+
default:
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
function serverBlocks(xml, element) {
|
|
54
|
+
const blocks = [];
|
|
55
|
+
const pattern = new RegExp(`<${element}\\b[^>]*>([\\s\\S]*?)</${element}>`, "gi");
|
|
56
|
+
let match;
|
|
57
|
+
while ((match = pattern.exec(xml)) !== null) {
|
|
58
|
+
blocks.push(match[0]);
|
|
59
|
+
}
|
|
60
|
+
return blocks;
|
|
61
|
+
}
|
|
62
|
+
function typeOf(block) {
|
|
63
|
+
return (/\btype\s*=\s*["']([^"']+)["']/i.exec(block)?.[1] ?? "").toLowerCase();
|
|
64
|
+
}
|
|
65
|
+
function toServer(block) {
|
|
66
|
+
const host = tagText(block, "hostname");
|
|
67
|
+
if (host === null || host === "") return null;
|
|
68
|
+
const port = tagText(block, "port");
|
|
69
|
+
return {
|
|
70
|
+
host,
|
|
71
|
+
port: port === null ? null : Number.parseInt(port, 10),
|
|
72
|
+
security: toSecurity(tagText(block, "socketType")),
|
|
73
|
+
// A published autoconfig file states its socket type as a matter of
|
|
74
|
+
// format. If the element is missing the file is simply incomplete, and
|
|
75
|
+
// that is an unstated value exactly as a provider's silence is.
|
|
76
|
+
securityDocumented: tagText(block, "socketType") !== null
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
function parseClientConfig(xml) {
|
|
80
|
+
if (!/<clientConfig\b/i.test(xml)) return null;
|
|
81
|
+
const incoming = serverBlocks(xml, "incomingServer");
|
|
82
|
+
const outgoing = serverBlocks(xml, "outgoingServer");
|
|
83
|
+
const imapBlock = incoming.find((block) => typeOf(block) === "imap");
|
|
84
|
+
const popBlock = incoming.find((block) => typeOf(block) === "pop3");
|
|
85
|
+
const smtpBlock = outgoing.find((block) => typeOf(block) === "smtp") ?? outgoing[0];
|
|
86
|
+
const imap = imapBlock === void 0 ? null : toServer(imapBlock);
|
|
87
|
+
const pop3 = popBlock === void 0 ? null : toServer(popBlock);
|
|
88
|
+
const smtp = smtpBlock === void 0 ? null : toServer(smtpBlock);
|
|
89
|
+
if (imap === null && pop3 === null && smtp === null) return null;
|
|
90
|
+
const usernameBlock = imapBlock ?? popBlock ?? smtpBlock;
|
|
91
|
+
return {
|
|
92
|
+
provider: tagText(xml, "displayName"),
|
|
93
|
+
imap,
|
|
94
|
+
pop3,
|
|
95
|
+
smtp,
|
|
96
|
+
username: usernameBlock === void 0 ? null : tagText(usernameBlock, "username")
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
async function fetchClientConfig(url, fetchImpl, timeout) {
|
|
100
|
+
const response = await fetchImpl(url, {
|
|
101
|
+
signal: AbortSignal.timeout(timeout),
|
|
102
|
+
redirect: "follow",
|
|
103
|
+
headers: { accept: "application/xml, text/xml" }
|
|
104
|
+
});
|
|
105
|
+
if (!response.ok) return null;
|
|
106
|
+
return parseClientConfig(await response.text());
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
// src/data.generated.ts
|
|
110
|
+
var DATASET = {
|
|
111
|
+
"version": 1,
|
|
112
|
+
"generated_at": "2026-11-23T00:03:12+00:00",
|
|
113
|
+
"source": "https://emails.help",
|
|
114
|
+
"about": `Email server settings, each value taken from the provider's own documentation. A null with a note in "undocumented" means the provider does not state that value, not that it is unknown.`,
|
|
115
|
+
"licence": "CC BY 4.0",
|
|
116
|
+
"count": 31,
|
|
117
|
+
"providers": [
|
|
118
|
+
{
|
|
119
|
+
"slug": "aol",
|
|
120
|
+
"name": "AOL Mail",
|
|
121
|
+
"domains": [
|
|
122
|
+
"aol.com"
|
|
123
|
+
],
|
|
124
|
+
"mx_patterns": [],
|
|
125
|
+
"client_access": true,
|
|
126
|
+
"incoming": {
|
|
127
|
+
"imap": {
|
|
128
|
+
"host": "imap.aol.com",
|
|
129
|
+
"port": 993,
|
|
130
|
+
"security": "ssl",
|
|
131
|
+
"security_documented": true
|
|
132
|
+
},
|
|
133
|
+
"pop3": {
|
|
134
|
+
"host": "pop.aol.com",
|
|
135
|
+
"port": 995,
|
|
136
|
+
"security": "ssl",
|
|
137
|
+
"security_documented": true
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"outgoing": {
|
|
141
|
+
"smtp": {
|
|
142
|
+
"host": "smtp.aol.com",
|
|
143
|
+
"port": 465,
|
|
144
|
+
"security": "ssl",
|
|
145
|
+
"security_documented": true
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"username": "Your full email address",
|
|
149
|
+
"authentication": "An app password from your AOL Account Security page \u2014 unless your app signs in through AOL\u2019s own sign-in page.",
|
|
150
|
+
"notes": [
|
|
151
|
+
"IMAP keeps the app and mail.aol.com in sync; POP only downloads the Inbox."
|
|
152
|
+
],
|
|
153
|
+
"undocumented": [],
|
|
154
|
+
"sources": [
|
|
155
|
+
"https://help.aol.com/articles/how-do-i-use-other-email-applications-to-send-and-receive-my-aol-mail"
|
|
156
|
+
],
|
|
157
|
+
"guide": "https://emails.help/aol-mail/server-settings",
|
|
158
|
+
"verified": null
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"slug": "att",
|
|
162
|
+
"name": "AT&T Mail",
|
|
163
|
+
"domains": [
|
|
164
|
+
"att.net",
|
|
165
|
+
"sbcglobal.net",
|
|
166
|
+
"bellsouth.net",
|
|
167
|
+
"pacbell.net",
|
|
168
|
+
"prodigy.net",
|
|
169
|
+
"ameritech.net",
|
|
170
|
+
"currently.com",
|
|
171
|
+
"flash.net",
|
|
172
|
+
"nvbell.net",
|
|
173
|
+
"snet.net",
|
|
174
|
+
"swbell.net",
|
|
175
|
+
"wans.net"
|
|
176
|
+
],
|
|
177
|
+
"mx_patterns": [],
|
|
178
|
+
"client_access": true,
|
|
179
|
+
"incoming": {
|
|
180
|
+
"imap": {
|
|
181
|
+
"host": "imap.mail.att.net",
|
|
182
|
+
"port": 993,
|
|
183
|
+
"security": "ssl",
|
|
184
|
+
"security_documented": true
|
|
185
|
+
},
|
|
186
|
+
"pop3": {
|
|
187
|
+
"host": "inbound.att.net",
|
|
188
|
+
"port": 995,
|
|
189
|
+
"security": "ssl",
|
|
190
|
+
"security_documented": true
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"outgoing": {
|
|
194
|
+
"smtp": {
|
|
195
|
+
"host": "smtp.mail.att.net",
|
|
196
|
+
"port": 465,
|
|
197
|
+
"security": "ssl",
|
|
198
|
+
"security_documented": true
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"username": "Your full email address",
|
|
202
|
+
"authentication": "A secure mail key (16 characters, created in your AT&T profile) \u2014 unless your app signs in with OAuth, where your AT&T password works.",
|
|
203
|
+
"notes": [
|
|
204
|
+
"AT&T also lists port 587 for the IMAP outgoing server.",
|
|
205
|
+
"With POP3, the outgoing server is outbound.att.net on port 465 with SSL."
|
|
206
|
+
],
|
|
207
|
+
"undocumented": [],
|
|
208
|
+
"sources": [
|
|
209
|
+
"https://www.att.com/support/article/email-support/KM1010523/",
|
|
210
|
+
"https://www.att.com/support/article/email-support/KM1240308/"
|
|
211
|
+
],
|
|
212
|
+
"guide": "https://emails.help/att-mail/server-settings",
|
|
213
|
+
"verified": null
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"slug": "centurylink",
|
|
217
|
+
"name": "CenturyLink Email",
|
|
218
|
+
"domains": [
|
|
219
|
+
"centurylink.net",
|
|
220
|
+
"centurytel.net",
|
|
221
|
+
"clds.net",
|
|
222
|
+
"coastalnow.net",
|
|
223
|
+
"cochill.net",
|
|
224
|
+
"cswnet.com",
|
|
225
|
+
"elpasotel.net",
|
|
226
|
+
"embarqmail.com",
|
|
227
|
+
"emadisonriver.com",
|
|
228
|
+
"emadisonriver.net",
|
|
229
|
+
"gallatinriver.net",
|
|
230
|
+
"grics.net",
|
|
231
|
+
"gulftel.com",
|
|
232
|
+
"madisonriver.biz",
|
|
233
|
+
"mebtel.net",
|
|
234
|
+
"qwest.net"
|
|
235
|
+
],
|
|
236
|
+
"mx_patterns": [],
|
|
237
|
+
"client_access": true,
|
|
238
|
+
"incoming": {
|
|
239
|
+
"imap": {
|
|
240
|
+
"host": "mail.centurylink.net",
|
|
241
|
+
"port": 993,
|
|
242
|
+
"security": "ssl",
|
|
243
|
+
"security_documented": true
|
|
244
|
+
},
|
|
245
|
+
"pop3": {
|
|
246
|
+
"host": "pop.centurylink.net",
|
|
247
|
+
"port": 995,
|
|
248
|
+
"security": "ssl",
|
|
249
|
+
"security_documented": true
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
"outgoing": {
|
|
253
|
+
"smtp": {
|
|
254
|
+
"host": "smtp.centurylink.net",
|
|
255
|
+
"port": 587,
|
|
256
|
+
"security": "starttls",
|
|
257
|
+
"security_documented": true
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"username": "Your full email address",
|
|
261
|
+
"authentication": null,
|
|
262
|
+
"notes": [
|
|
263
|
+
"CenturyLink moved all email to a new service in October 2022 \u2014 apps set up before then may need these updated settings.",
|
|
264
|
+
"qwestoffice.net uses different servers (pop.qwestoffice.net and smtp.qwestoffice.net)."
|
|
265
|
+
],
|
|
266
|
+
"undocumented": [],
|
|
267
|
+
"sources": [
|
|
268
|
+
"https://www.centurylink.com/home/help/internet/email/how-to-set-up-your-email-server-settings-to-go-through-pop-and-smtp.html"
|
|
269
|
+
],
|
|
270
|
+
"guide": "https://emails.help/centurylink/server-settings",
|
|
271
|
+
"verified": null
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"slug": "cox",
|
|
275
|
+
"name": "Cox Email (Yahoo)",
|
|
276
|
+
"domains": [
|
|
277
|
+
"cox.net"
|
|
278
|
+
],
|
|
279
|
+
"mx_patterns": [],
|
|
280
|
+
"client_access": true,
|
|
281
|
+
"incoming": {
|
|
282
|
+
"imap": {
|
|
283
|
+
"host": "imap.mail.yahoo.com",
|
|
284
|
+
"port": 993,
|
|
285
|
+
"security": "ssl",
|
|
286
|
+
"security_documented": true
|
|
287
|
+
},
|
|
288
|
+
"pop3": {
|
|
289
|
+
"host": "pop.mail.yahoo.com",
|
|
290
|
+
"port": 995,
|
|
291
|
+
"security": "ssl",
|
|
292
|
+
"security_documented": true
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
"outgoing": {
|
|
296
|
+
"smtp": {
|
|
297
|
+
"host": "smtp.mail.yahoo.com",
|
|
298
|
+
"port": 465,
|
|
299
|
+
"security": "ssl",
|
|
300
|
+
"security_documented": true,
|
|
301
|
+
"alternative": {
|
|
302
|
+
"port": 587,
|
|
303
|
+
"security": null
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
"username": "Your full cox.net email address",
|
|
308
|
+
"authentication": "A Yahoo app password \u2014 your regular password won\u2019t work in email apps.",
|
|
309
|
+
"notes": [
|
|
310
|
+
"Cox moved all cox.net email to Yahoo Mail; Yahoo now handles cox.net email support."
|
|
311
|
+
],
|
|
312
|
+
"undocumented": [],
|
|
313
|
+
"sources": [
|
|
314
|
+
"https://help.yahoo.com/kb/mail/SLN36637.html",
|
|
315
|
+
"https://www.cox.com/residential/support/coxnet-email-transitioning-to-yahoo.html"
|
|
316
|
+
],
|
|
317
|
+
"guide": "https://emails.help/cox-email/server-settings",
|
|
318
|
+
"verified": null
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"slug": "earthlink",
|
|
322
|
+
"name": "EarthLink",
|
|
323
|
+
"domains": [
|
|
324
|
+
"earthlink.net",
|
|
325
|
+
"mindspring.com",
|
|
326
|
+
"peoplepc.com"
|
|
327
|
+
],
|
|
328
|
+
"mx_patterns": [],
|
|
329
|
+
"client_access": true,
|
|
330
|
+
"incoming": {
|
|
331
|
+
"imap": {
|
|
332
|
+
"host": "imap.earthlink.net",
|
|
333
|
+
"port": 993,
|
|
334
|
+
"security": "ssl",
|
|
335
|
+
"security_documented": true
|
|
336
|
+
},
|
|
337
|
+
"pop3": {
|
|
338
|
+
"host": "pop.earthlink.net",
|
|
339
|
+
"port": 995,
|
|
340
|
+
"security": "ssl",
|
|
341
|
+
"security_documented": true
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
"outgoing": {
|
|
345
|
+
"smtp": {
|
|
346
|
+
"host": "smtpauth.earthlink.net",
|
|
347
|
+
"port": 587,
|
|
348
|
+
"security": "starttls",
|
|
349
|
+
"security_documented": true
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
"username": "Your full email address",
|
|
353
|
+
"authentication": null,
|
|
354
|
+
"notes": [
|
|
355
|
+
"For POP, other EarthLink domains use pop. plus the domain \u2014 for example pop.mindspring.com or pop.peoplepc.com.",
|
|
356
|
+
"If you use more than one device, put them all on IMAP; EarthLink warns that mixing POP and IMAP can stop messages saving."
|
|
357
|
+
],
|
|
358
|
+
"undocumented": [],
|
|
359
|
+
"sources": [
|
|
360
|
+
"https://help.earthlink.net/portal/en/kb/articles/email-server-settings"
|
|
361
|
+
],
|
|
362
|
+
"guide": "https://emails.help/earthlink/server-settings",
|
|
363
|
+
"verified": null
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"slug": "fastmail",
|
|
367
|
+
"name": "Fastmail",
|
|
368
|
+
"domains": [
|
|
369
|
+
"fastmail.com"
|
|
370
|
+
],
|
|
371
|
+
"mx_patterns": [
|
|
372
|
+
"messagingengine.com"
|
|
373
|
+
],
|
|
374
|
+
"client_access": true,
|
|
375
|
+
"incoming": {
|
|
376
|
+
"imap": {
|
|
377
|
+
"host": "imap.fastmail.com",
|
|
378
|
+
"port": 993,
|
|
379
|
+
"security": "ssl",
|
|
380
|
+
"security_documented": true
|
|
381
|
+
},
|
|
382
|
+
"pop3": {
|
|
383
|
+
"host": "pop.fastmail.com",
|
|
384
|
+
"port": 995,
|
|
385
|
+
"security": "ssl",
|
|
386
|
+
"security_documented": true
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
"outgoing": {
|
|
390
|
+
"smtp": {
|
|
391
|
+
"host": "smtp.fastmail.com",
|
|
392
|
+
"port": 465,
|
|
393
|
+
"security": "ssl",
|
|
394
|
+
"security_documented": true,
|
|
395
|
+
"alternative": {
|
|
396
|
+
"port": 587,
|
|
397
|
+
"security": "starttls"
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
"username": "Your full email address",
|
|
402
|
+
"authentication": "An app password \u2014 Fastmail doesn\u2019t accept your regular password in email apps.",
|
|
403
|
+
"notes": [
|
|
404
|
+
"Don\u2019t turn on Secure Password Authentication (SPA) \u2014 it isn\u2019t needed with SSL/TLS and won\u2019t work.",
|
|
405
|
+
"If your network blocks these ports, Fastmail offers proxy servers (imaps-proxy, pops-proxy, smtps-proxy.fastmail.com)."
|
|
406
|
+
],
|
|
407
|
+
"undocumented": [],
|
|
408
|
+
"sources": [
|
|
409
|
+
"https://fastmail.help/hc/en-us/articles/1500000278342"
|
|
410
|
+
],
|
|
411
|
+
"guide": "https://emails.help/fastmail/server-settings",
|
|
412
|
+
"verified": null
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"slug": "frontier",
|
|
416
|
+
"name": "Frontier Mail",
|
|
417
|
+
"domains": [
|
|
418
|
+
"frontier.com",
|
|
419
|
+
"frontiernet.net",
|
|
420
|
+
"citilink.net",
|
|
421
|
+
"epix.net",
|
|
422
|
+
"gvni.com",
|
|
423
|
+
"newnorth.net"
|
|
424
|
+
],
|
|
425
|
+
"mx_patterns": [],
|
|
426
|
+
"client_access": true,
|
|
427
|
+
"incoming": {
|
|
428
|
+
"pop3": {
|
|
429
|
+
"host": "pop3.frontier.com",
|
|
430
|
+
"port": 995,
|
|
431
|
+
"security": "ssl",
|
|
432
|
+
"security_documented": true
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
"outgoing": {
|
|
436
|
+
"smtp": {
|
|
437
|
+
"host": "smtp.frontier.com",
|
|
438
|
+
"port": 465,
|
|
439
|
+
"security": "ssl",
|
|
440
|
+
"security_documented": true
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
"username": "Your full email address",
|
|
444
|
+
"authentication": "Your Frontier email password. The outgoing server requires authentication.",
|
|
445
|
+
"notes": [
|
|
446
|
+
"Frontier Mail is powered by Yahoo. Frontier says to use an OAuth-compliant email app; on iPhone it adds Frontier email as a Yahoo account.",
|
|
447
|
+
"Frontier\u2019s settings page lists POP3 and SMTP only \u2014 no IMAP server."
|
|
448
|
+
],
|
|
449
|
+
"undocumented": [],
|
|
450
|
+
"sources": [
|
|
451
|
+
"https://frontier.com/helpcenter/categories/internet/email/troubleshooting-email/get-started/mail-server-settings",
|
|
452
|
+
"https://frontier.com/helpcenter/residential/categories/internet/email/use-frontier-yahoo-mail"
|
|
453
|
+
],
|
|
454
|
+
"guide": "https://emails.help/frontier-mail/server-settings",
|
|
455
|
+
"verified": null
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"slug": "gmail",
|
|
459
|
+
"name": "Gmail",
|
|
460
|
+
"domains": [
|
|
461
|
+
"gmail.com"
|
|
462
|
+
],
|
|
463
|
+
"mx_patterns": [
|
|
464
|
+
"google.com",
|
|
465
|
+
"googlemail.com"
|
|
466
|
+
],
|
|
467
|
+
"client_access": true,
|
|
468
|
+
"incoming": {
|
|
469
|
+
"imap": {
|
|
470
|
+
"host": "imap.gmail.com",
|
|
471
|
+
"port": 993,
|
|
472
|
+
"security": "ssl",
|
|
473
|
+
"security_documented": true
|
|
474
|
+
},
|
|
475
|
+
"pop3": {
|
|
476
|
+
"host": "pop.gmail.com",
|
|
477
|
+
"port": 995,
|
|
478
|
+
"security": "ssl",
|
|
479
|
+
"security_documented": true
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
"outgoing": {
|
|
483
|
+
"smtp": {
|
|
484
|
+
"host": "smtp.gmail.com",
|
|
485
|
+
"port": 587,
|
|
486
|
+
"security": "starttls",
|
|
487
|
+
"security_documented": true
|
|
488
|
+
}
|
|
489
|
+
},
|
|
490
|
+
"username": "Your full email address",
|
|
491
|
+
"authentication": "Use your app\u2019s \u201CSign in with Google\u201D option where available. If you use 2-Step Verification and your app can\u2019t sign in with Google, Google suggests an app password.",
|
|
492
|
+
"notes": [
|
|
493
|
+
"IMAP is always on for personal Gmail accounts.",
|
|
494
|
+
"POP has to be turned on first in Gmail settings under Forwarding and POP/IMAP.",
|
|
495
|
+
"Work or school accounts: check with your administrator for the correct SMTP configuration."
|
|
496
|
+
],
|
|
497
|
+
"undocumented": [],
|
|
498
|
+
"sources": [
|
|
499
|
+
"https://support.google.com/mail/answer/7104828",
|
|
500
|
+
"https://support.google.com/mail/answer/7126229"
|
|
501
|
+
],
|
|
502
|
+
"guide": "https://emails.help/gmail/server-settings",
|
|
503
|
+
"verified": null
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"slug": "gmx",
|
|
507
|
+
"name": "GMX",
|
|
508
|
+
"domains": [
|
|
509
|
+
"gmx.com"
|
|
510
|
+
],
|
|
511
|
+
"mx_patterns": [],
|
|
512
|
+
"client_access": true,
|
|
513
|
+
"incoming": {
|
|
514
|
+
"imap": {
|
|
515
|
+
"host": "imap.gmx.com",
|
|
516
|
+
"port": 993,
|
|
517
|
+
"security": "ssl",
|
|
518
|
+
"security_documented": true
|
|
519
|
+
},
|
|
520
|
+
"pop3": {
|
|
521
|
+
"host": "pop.gmx.com",
|
|
522
|
+
"port": 995,
|
|
523
|
+
"security": "ssl",
|
|
524
|
+
"security_documented": true
|
|
525
|
+
}
|
|
526
|
+
},
|
|
527
|
+
"outgoing": {
|
|
528
|
+
"smtp": {
|
|
529
|
+
"host": "mail.gmx.com",
|
|
530
|
+
"port": 587,
|
|
531
|
+
"security": "starttls",
|
|
532
|
+
"security_documented": true,
|
|
533
|
+
"alternative": {
|
|
534
|
+
"port": 465,
|
|
535
|
+
"security": "ssl"
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
},
|
|
539
|
+
"username": "Your full email address",
|
|
540
|
+
"authentication": null,
|
|
541
|
+
"notes": [
|
|
542
|
+
"POP3 and IMAP are switched off by default. Turn them on in your GMX email settings first.",
|
|
543
|
+
"Your app must support TLS 1.2 or 1.3 \u2014 older TLS versions are no longer accepted."
|
|
544
|
+
],
|
|
545
|
+
"undocumented": [],
|
|
546
|
+
"sources": [
|
|
547
|
+
"https://support.gmx.com/pop-imap/setup-emailprogram-fails.html"
|
|
548
|
+
],
|
|
549
|
+
"guide": "https://emails.help/gmx/server-settings",
|
|
550
|
+
"verified": null
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
"slug": "gmx-net",
|
|
554
|
+
"name": "GMX (gmx.net)",
|
|
555
|
+
"domains": [
|
|
556
|
+
"gmx.net"
|
|
557
|
+
],
|
|
558
|
+
"mx_patterns": [],
|
|
559
|
+
"client_access": true,
|
|
560
|
+
"incoming": {
|
|
561
|
+
"imap": {
|
|
562
|
+
"host": "imap.gmx.net",
|
|
563
|
+
"port": 993,
|
|
564
|
+
"security": "ssl",
|
|
565
|
+
"security_documented": true
|
|
566
|
+
}
|
|
567
|
+
},
|
|
568
|
+
"outgoing": {
|
|
569
|
+
"smtp": {
|
|
570
|
+
"host": "mail.gmx.net",
|
|
571
|
+
"port": 587,
|
|
572
|
+
"security": "starttls",
|
|
573
|
+
"security_documented": true,
|
|
574
|
+
"alternative": {
|
|
575
|
+
"port": 465,
|
|
576
|
+
"security": "ssl"
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
},
|
|
580
|
+
"username": "Your full email address",
|
|
581
|
+
"authentication": null,
|
|
582
|
+
"notes": [
|
|
583
|
+
"POP3 or IMAP has to be switched on in your GMX settings before you can use them.",
|
|
584
|
+
"Your app must support TLS 1.2 or 1.3."
|
|
585
|
+
],
|
|
586
|
+
"undocumented": [],
|
|
587
|
+
"sources": [
|
|
588
|
+
"https://hilfe.gmx.net/pop-imap/imap/imap-serverdaten.html"
|
|
589
|
+
],
|
|
590
|
+
"guide": null,
|
|
591
|
+
"verified": null
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"slug": "godaddy",
|
|
595
|
+
"name": "GoDaddy Professional Email",
|
|
596
|
+
"domains": [],
|
|
597
|
+
"mx_patterns": [
|
|
598
|
+
"secureserver.net"
|
|
599
|
+
],
|
|
600
|
+
"client_access": true,
|
|
601
|
+
"incoming": {
|
|
602
|
+
"imap": {
|
|
603
|
+
"host": "imap.secureserver.net",
|
|
604
|
+
"port": 993,
|
|
605
|
+
"security": "ssl",
|
|
606
|
+
"security_documented": true
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
"outgoing": {
|
|
610
|
+
"smtp": {
|
|
611
|
+
"host": "smtpout.secureserver.net",
|
|
612
|
+
"port": 465,
|
|
613
|
+
"security": "ssl",
|
|
614
|
+
"security_documented": true
|
|
615
|
+
}
|
|
616
|
+
},
|
|
617
|
+
"username": "Your full email address",
|
|
618
|
+
"authentication": "Your email password \u2014 not your GoDaddy account password.",
|
|
619
|
+
"notes": [
|
|
620
|
+
"Microsoft 365 from GoDaddy uses Microsoft\u2019s servers instead; GoDaddy recommends Exchange settings or Outlook on the web for it.",
|
|
621
|
+
"Older Workspace Email accounts use the same IMAP and SMTP servers. GoDaddy is retiring Workspace Email."
|
|
622
|
+
],
|
|
623
|
+
"undocumented": [],
|
|
624
|
+
"sources": [
|
|
625
|
+
"https://www.godaddy.com/en-ca/help/use-imap-settings-to-add-my-professional-email-to-a-client-32204",
|
|
626
|
+
"https://www.godaddy.com/en-in/help/what-are-my-dns-settings-for-professional-email-powered-by-titan-42767"
|
|
627
|
+
],
|
|
628
|
+
"guide": "https://emails.help/godaddy-email/server-settings",
|
|
629
|
+
"verified": null
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"slug": "icloud",
|
|
633
|
+
"name": "iCloud Mail",
|
|
634
|
+
"domains": [
|
|
635
|
+
"icloud.com"
|
|
636
|
+
],
|
|
637
|
+
"mx_patterns": [
|
|
638
|
+
"mail.icloud.com"
|
|
639
|
+
],
|
|
640
|
+
"client_access": true,
|
|
641
|
+
"incoming": {
|
|
642
|
+
"imap": {
|
|
643
|
+
"host": "imap.mail.me.com",
|
|
644
|
+
"port": 993,
|
|
645
|
+
"security": "ssl",
|
|
646
|
+
"security_documented": true
|
|
647
|
+
}
|
|
648
|
+
},
|
|
649
|
+
"outgoing": {
|
|
650
|
+
"smtp": {
|
|
651
|
+
"host": "smtp.mail.me.com",
|
|
652
|
+
"port": 587,
|
|
653
|
+
"security": "starttls",
|
|
654
|
+
"security_documented": true
|
|
655
|
+
}
|
|
656
|
+
},
|
|
657
|
+
"username": "IMAP: usually the part of your address before the @ (try the full address if that fails). SMTP: your full iCloud address.",
|
|
658
|
+
"authentication": "An app-specific password, generated from your Apple Account \u2014 not your normal Apple password.",
|
|
659
|
+
"notes": [
|
|
660
|
+
"iCloud Mail doesn\u2019t support POP.",
|
|
661
|
+
"On Apple devices that meet iCloud\u2019s requirements, use the built-in iCloud settings instead."
|
|
662
|
+
],
|
|
663
|
+
"undocumented": [],
|
|
664
|
+
"sources": [
|
|
665
|
+
"https://support.apple.com/en-us/102525"
|
|
666
|
+
],
|
|
667
|
+
"guide": "https://emails.help/icloud-mail/server-settings",
|
|
668
|
+
"verified": null
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"slug": "juno",
|
|
672
|
+
"name": "Juno",
|
|
673
|
+
"domains": [
|
|
674
|
+
"juno.com"
|
|
675
|
+
],
|
|
676
|
+
"mx_patterns": [],
|
|
677
|
+
"client_access": true,
|
|
678
|
+
"incoming": {
|
|
679
|
+
"pop3": {
|
|
680
|
+
"host": "pop.juno.com",
|
|
681
|
+
"port": 995,
|
|
682
|
+
"security": "ssl",
|
|
683
|
+
"security_documented": true
|
|
684
|
+
}
|
|
685
|
+
},
|
|
686
|
+
"outgoing": {
|
|
687
|
+
"smtp": {
|
|
688
|
+
"host": "smtp.juno.com",
|
|
689
|
+
"port": 465,
|
|
690
|
+
"security": "ssl",
|
|
691
|
+
"security_documented": true
|
|
692
|
+
}
|
|
693
|
+
},
|
|
694
|
+
"username": "Your full email address (memberid@juno.com)",
|
|
695
|
+
"authentication": null,
|
|
696
|
+
"notes": [
|
|
697
|
+
"Juno publishes no IMAP server \u2014 POP3 only. Set \u201CDelete email from server\u201D to Never so a second device and webmail can still see your mail.",
|
|
698
|
+
"Outgoing mail needs authentication: tick Require Sign-in on the SMTP server.",
|
|
699
|
+
"Juno\u2019s help pages have not been revised in years \u2014 its setup page still lists Outlook Express. Re-check these values against Juno before relying on them."
|
|
700
|
+
],
|
|
701
|
+
"undocumented": [],
|
|
702
|
+
"sources": [
|
|
703
|
+
"https://help.juno.com/support/webmail/wm-email-setup.html",
|
|
704
|
+
"https://help.juno.com/support/webmail/mobile/droid.html"
|
|
705
|
+
],
|
|
706
|
+
"guide": "https://emails.help/juno/server-settings",
|
|
707
|
+
"verified": null
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"slug": "mail-com",
|
|
711
|
+
"name": "mail.com",
|
|
712
|
+
"domains": [
|
|
713
|
+
"mail.com"
|
|
714
|
+
],
|
|
715
|
+
"mx_patterns": [
|
|
716
|
+
"mail.com"
|
|
717
|
+
],
|
|
718
|
+
"client_access": true,
|
|
719
|
+
"incoming": {
|
|
720
|
+
"imap": {
|
|
721
|
+
"host": "imap.mail.com",
|
|
722
|
+
"port": 993,
|
|
723
|
+
"security": "ssl",
|
|
724
|
+
"security_documented": true
|
|
725
|
+
},
|
|
726
|
+
"pop3": {
|
|
727
|
+
"host": "pop.mail.com",
|
|
728
|
+
"port": 995,
|
|
729
|
+
"security": "ssl",
|
|
730
|
+
"security_documented": true
|
|
731
|
+
}
|
|
732
|
+
},
|
|
733
|
+
"outgoing": {
|
|
734
|
+
"smtp": {
|
|
735
|
+
"host": "smtp.mail.com",
|
|
736
|
+
"port": 587,
|
|
737
|
+
"security": "starttls",
|
|
738
|
+
"security_documented": true,
|
|
739
|
+
"alternative": {
|
|
740
|
+
"port": 465,
|
|
741
|
+
"security": "ssl"
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
},
|
|
745
|
+
"username": "Your full email address",
|
|
746
|
+
"authentication": null,
|
|
747
|
+
"notes": [
|
|
748
|
+
"POP3, IMAP and SMTP are mail.com Premium features only \u2014 free accounts use the website or the mail.com Mail app.",
|
|
749
|
+
"Access is switched off by default: Email \u203A Settings \u203A POP3 & IMAP \u203A \u201CEnable access to this account via POP3 and IMAP\u201D. mail.com turns it off again after long non-use.",
|
|
750
|
+
"With two-factor authentication on, use an application-specific password in the app."
|
|
751
|
+
],
|
|
752
|
+
"undocumented": [],
|
|
753
|
+
"sources": [
|
|
754
|
+
"https://support.mail.com/pop-imap/toggle.html",
|
|
755
|
+
"https://support.mail.com/pop-imap/setup-emailprogram-fails.html"
|
|
756
|
+
],
|
|
757
|
+
"guide": "https://emails.help/mail-com/server-settings",
|
|
758
|
+
"verified": null
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
"slug": "microsoft-365",
|
|
762
|
+
"name": "Microsoft 365",
|
|
763
|
+
"domains": [],
|
|
764
|
+
"mx_patterns": [
|
|
765
|
+
"mail.protection.outlook.com"
|
|
766
|
+
],
|
|
767
|
+
"client_access": true,
|
|
768
|
+
"incoming": {
|
|
769
|
+
"imap": {
|
|
770
|
+
"host": "outlook.office365.com",
|
|
771
|
+
"port": 993,
|
|
772
|
+
"security": "ssl",
|
|
773
|
+
"security_documented": true
|
|
774
|
+
},
|
|
775
|
+
"pop3": {
|
|
776
|
+
"host": "outlook.office365.com",
|
|
777
|
+
"port": 995,
|
|
778
|
+
"security": "ssl",
|
|
779
|
+
"security_documented": true
|
|
780
|
+
}
|
|
781
|
+
},
|
|
782
|
+
"outgoing": {
|
|
783
|
+
"smtp": {
|
|
784
|
+
"host": "smtp.office365.com",
|
|
785
|
+
"port": 587,
|
|
786
|
+
"security": "starttls",
|
|
787
|
+
"security_documented": true
|
|
788
|
+
}
|
|
789
|
+
},
|
|
790
|
+
"username": "Your full email address",
|
|
791
|
+
"authentication": "Your work or school account password. Turn on \u201CMy outgoing server requires authentication\u201D and leave Secure Password Authentication off.",
|
|
792
|
+
"notes": [
|
|
793
|
+
"Your organisation\u2019s administrator can turn POP, IMAP or SMTP off for your mailbox. If these settings don\u2019t work, ask them first.",
|
|
794
|
+
"Accounts operated by 21Vianet (China) use different servers."
|
|
795
|
+
],
|
|
796
|
+
"undocumented": [],
|
|
797
|
+
"sources": [
|
|
798
|
+
"https://support.microsoft.com/en-us/topic/775748a1-0075-40fd-b630-1d2a84be081a"
|
|
799
|
+
],
|
|
800
|
+
"guide": "https://emails.help/microsoft-365/smtp-settings",
|
|
801
|
+
"verified": null
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
"slug": "netzero",
|
|
805
|
+
"name": "NetZero",
|
|
806
|
+
"domains": [
|
|
807
|
+
"netzero.com",
|
|
808
|
+
"netzero.net"
|
|
809
|
+
],
|
|
810
|
+
"mx_patterns": [],
|
|
811
|
+
"client_access": true,
|
|
812
|
+
"incoming": {
|
|
813
|
+
"pop3": {
|
|
814
|
+
"host": "pop.netzero.com",
|
|
815
|
+
"port": 995,
|
|
816
|
+
"security": "ssl",
|
|
817
|
+
"security_documented": true
|
|
818
|
+
}
|
|
819
|
+
},
|
|
820
|
+
"outgoing": {
|
|
821
|
+
"smtp": {
|
|
822
|
+
"host": "smtp.netzero.com",
|
|
823
|
+
"port": 465,
|
|
824
|
+
"security": "ssl",
|
|
825
|
+
"security_documented": true
|
|
826
|
+
}
|
|
827
|
+
},
|
|
828
|
+
"username": "Your NetZero Member ID",
|
|
829
|
+
"authentication": null,
|
|
830
|
+
"notes": [
|
|
831
|
+
"NetZero publishes no IMAP server \u2014 POP3 only. Set \u201CDelete email from server\u201D to Never so a second device and webmail can still see your mail.",
|
|
832
|
+
"Webmail is on netzero.net; addresses and mail servers are on netzero.com. A hostname that looks almost right is usually this.",
|
|
833
|
+
"Outgoing mail needs authentication: tick Require Sign-in on the SMTP server."
|
|
834
|
+
],
|
|
835
|
+
"undocumented": [],
|
|
836
|
+
"sources": [
|
|
837
|
+
"https://help.netzero.net/support/webmail/wm-email-setup.html",
|
|
838
|
+
"https://help.netzero.net/support/webmail/mobile/droid.html"
|
|
839
|
+
],
|
|
840
|
+
"guide": "https://emails.help/netzero/server-settings",
|
|
841
|
+
"verified": null
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
"slug": "optimum",
|
|
845
|
+
"name": "Optimum Email",
|
|
846
|
+
"domains": [
|
|
847
|
+
"optimum.net"
|
|
848
|
+
],
|
|
849
|
+
"mx_patterns": [],
|
|
850
|
+
"client_access": true,
|
|
851
|
+
"incoming": {
|
|
852
|
+
"imap": {
|
|
853
|
+
"host": "mail.optimum.net",
|
|
854
|
+
"port": 993,
|
|
855
|
+
"security": "ssl",
|
|
856
|
+
"security_documented": true
|
|
857
|
+
},
|
|
858
|
+
"pop3": {
|
|
859
|
+
"host": "mail.optimum.net",
|
|
860
|
+
"port": 995,
|
|
861
|
+
"security": "ssl",
|
|
862
|
+
"security_documented": true
|
|
863
|
+
}
|
|
864
|
+
},
|
|
865
|
+
"outgoing": {
|
|
866
|
+
"smtp": {
|
|
867
|
+
"host": "mail.optimum.net",
|
|
868
|
+
"port": 465,
|
|
869
|
+
"security": "ssl",
|
|
870
|
+
"security_documented": true
|
|
871
|
+
}
|
|
872
|
+
},
|
|
873
|
+
"username": "Your full email address",
|
|
874
|
+
"authentication": "The password for your email address. Turn on \u201CMy outgoing server requires authentication\u201D.",
|
|
875
|
+
"notes": [
|
|
876
|
+
"Optimum recommends IMAP if you read email on more than one device."
|
|
877
|
+
],
|
|
878
|
+
"undocumented": [],
|
|
879
|
+
"sources": [
|
|
880
|
+
"https://www.optimum.net/FAQ/#/answers/a_id/216"
|
|
881
|
+
],
|
|
882
|
+
"guide": "https://emails.help/optimum-email/server-settings",
|
|
883
|
+
"verified": null
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
"slug": "outlook",
|
|
887
|
+
"name": "Outlook.com",
|
|
888
|
+
"domains": [
|
|
889
|
+
"outlook.com",
|
|
890
|
+
"hotmail.com",
|
|
891
|
+
"live.com"
|
|
892
|
+
],
|
|
893
|
+
"mx_patterns": [
|
|
894
|
+
"olc.protection.outlook.com"
|
|
895
|
+
],
|
|
896
|
+
"client_access": true,
|
|
897
|
+
"incoming": {
|
|
898
|
+
"imap": {
|
|
899
|
+
"host": "outlook.office365.com",
|
|
900
|
+
"port": 993,
|
|
901
|
+
"security": "ssl",
|
|
902
|
+
"security_documented": true
|
|
903
|
+
},
|
|
904
|
+
"pop3": {
|
|
905
|
+
"host": "outlook.office365.com",
|
|
906
|
+
"port": 995,
|
|
907
|
+
"security": "ssl",
|
|
908
|
+
"security_documented": true
|
|
909
|
+
}
|
|
910
|
+
},
|
|
911
|
+
"outgoing": {
|
|
912
|
+
"smtp": {
|
|
913
|
+
"host": "smtp-mail.outlook.com",
|
|
914
|
+
"port": 587,
|
|
915
|
+
"security": "starttls",
|
|
916
|
+
"security_documented": true
|
|
917
|
+
}
|
|
918
|
+
},
|
|
919
|
+
"username": "Your full email address",
|
|
920
|
+
"authentication": "Your Microsoft account password. Outlook.com requires an app that supports Modern Auth (OAuth2).",
|
|
921
|
+
"notes": [
|
|
922
|
+
"POP and IMAP access are off by default. Turn them on in Outlook.com under Settings \u203A Mail \u203A Forwarding and IMAP."
|
|
923
|
+
],
|
|
924
|
+
"undocumented": [],
|
|
925
|
+
"sources": [
|
|
926
|
+
"https://support.microsoft.com/en-us/outlook/pop-imap-and-smtp-settings-for-outlook-com"
|
|
927
|
+
],
|
|
928
|
+
"guide": "https://emails.help/outlook/server-settings",
|
|
929
|
+
"verified": null
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
"slug": "proton",
|
|
933
|
+
"name": "Proton Mail",
|
|
934
|
+
"domains": [
|
|
935
|
+
"proton.me",
|
|
936
|
+
"protonmail.com"
|
|
937
|
+
],
|
|
938
|
+
"mx_patterns": [
|
|
939
|
+
"protonmail.ch"
|
|
940
|
+
],
|
|
941
|
+
"client_access": false,
|
|
942
|
+
"notes": [],
|
|
943
|
+
"undocumented": [],
|
|
944
|
+
"sources": [
|
|
945
|
+
"https://proton.me/support/imap-smtp-and-pop3-setup"
|
|
946
|
+
],
|
|
947
|
+
"guide": "https://emails.help/proton-mail/server-settings",
|
|
948
|
+
"verified": null
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
"slug": "spectrum-brighthouse",
|
|
952
|
+
"name": "Spectrum Email (Bright House)",
|
|
953
|
+
"domains": [
|
|
954
|
+
"brighthouse.com",
|
|
955
|
+
"bak.rr.com",
|
|
956
|
+
"bham.rr.com",
|
|
957
|
+
"cfl.rr.com",
|
|
958
|
+
"emore.rr.com",
|
|
959
|
+
"eufala.rr.com",
|
|
960
|
+
"indy.rr.com",
|
|
961
|
+
"mi.rr.com",
|
|
962
|
+
"panhandle.rr.com",
|
|
963
|
+
"tampabay.rr.com"
|
|
964
|
+
],
|
|
965
|
+
"mx_patterns": [],
|
|
966
|
+
"client_access": true,
|
|
967
|
+
"incoming": {
|
|
968
|
+
"imap": {
|
|
969
|
+
"host": "mail.brighthouse.com",
|
|
970
|
+
"port": 993,
|
|
971
|
+
"security": "ssl",
|
|
972
|
+
"security_documented": true
|
|
973
|
+
}
|
|
974
|
+
},
|
|
975
|
+
"outgoing": {
|
|
976
|
+
"smtp": {
|
|
977
|
+
"host": "mail.brighthouse.com",
|
|
978
|
+
"port": 587,
|
|
979
|
+
"security": null,
|
|
980
|
+
"security_documented": true
|
|
981
|
+
}
|
|
982
|
+
},
|
|
983
|
+
"username": "Your full Spectrum-provided email address",
|
|
984
|
+
"authentication": "Your Spectrum email password. Outgoing mail requires authentication.",
|
|
985
|
+
"notes": [
|
|
986
|
+
"Spectrum lists IMAP with SSL on, incoming port 993 and outgoing port 587."
|
|
987
|
+
],
|
|
988
|
+
"undocumented": [],
|
|
989
|
+
"sources": [
|
|
990
|
+
"https://www.spectrum.net/support/internet/mobile-email-setup"
|
|
991
|
+
],
|
|
992
|
+
"guide": "https://emails.help/spectrum-email/server-settings",
|
|
993
|
+
"verified": null
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
"slug": "spectrum-charter",
|
|
997
|
+
"name": "Spectrum Email (Charter)",
|
|
998
|
+
"domains": [
|
|
999
|
+
"spectrum.net",
|
|
1000
|
+
"charter.net",
|
|
1001
|
+
"bresnan.net"
|
|
1002
|
+
],
|
|
1003
|
+
"mx_patterns": [],
|
|
1004
|
+
"client_access": true,
|
|
1005
|
+
"incoming": {
|
|
1006
|
+
"imap": {
|
|
1007
|
+
"host": "mobile.charter.net",
|
|
1008
|
+
"port": 993,
|
|
1009
|
+
"security": "ssl",
|
|
1010
|
+
"security_documented": true
|
|
1011
|
+
}
|
|
1012
|
+
},
|
|
1013
|
+
"outgoing": {
|
|
1014
|
+
"smtp": {
|
|
1015
|
+
"host": "mobile.charter.net",
|
|
1016
|
+
"port": 587,
|
|
1017
|
+
"security": null,
|
|
1018
|
+
"security_documented": true
|
|
1019
|
+
}
|
|
1020
|
+
},
|
|
1021
|
+
"username": "Your full Spectrum-provided email address",
|
|
1022
|
+
"authentication": "Your Spectrum email password. Outgoing mail requires authentication.",
|
|
1023
|
+
"notes": [
|
|
1024
|
+
"Spectrum lists IMAP with SSL on, incoming port 993 and outgoing port 587."
|
|
1025
|
+
],
|
|
1026
|
+
"undocumented": [],
|
|
1027
|
+
"sources": [
|
|
1028
|
+
"https://www.spectrum.net/support/internet/mobile-email-setup"
|
|
1029
|
+
],
|
|
1030
|
+
"guide": "https://emails.help/spectrum-email/server-settings",
|
|
1031
|
+
"verified": null
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
"slug": "spectrum-twc",
|
|
1035
|
+
"name": "Spectrum Email (Roadrunner / TWC)",
|
|
1036
|
+
"domains": [
|
|
1037
|
+
"twc.com",
|
|
1038
|
+
"roadrunner.com",
|
|
1039
|
+
"*.rr.com"
|
|
1040
|
+
],
|
|
1041
|
+
"mx_patterns": [],
|
|
1042
|
+
"client_access": true,
|
|
1043
|
+
"incoming": {
|
|
1044
|
+
"imap": {
|
|
1045
|
+
"host": "mail.twc.com",
|
|
1046
|
+
"port": 993,
|
|
1047
|
+
"security": "ssl",
|
|
1048
|
+
"security_documented": true
|
|
1049
|
+
}
|
|
1050
|
+
},
|
|
1051
|
+
"outgoing": {
|
|
1052
|
+
"smtp": {
|
|
1053
|
+
"host": "mail.twc.com",
|
|
1054
|
+
"port": 587,
|
|
1055
|
+
"security": null,
|
|
1056
|
+
"security_documented": true
|
|
1057
|
+
}
|
|
1058
|
+
},
|
|
1059
|
+
"username": "Your full Spectrum-provided email address",
|
|
1060
|
+
"authentication": "Your Spectrum email password. Outgoing mail requires authentication.",
|
|
1061
|
+
"notes": [
|
|
1062
|
+
"Spectrum lists IMAP with SSL on, incoming port 993 and outgoing port 587.",
|
|
1063
|
+
"Two-domain accounts (roadrunner.com / adelphia.net, mi.rr.com / twmi.rr.com, nycap.rr.com / berkshire.rr.com): sign in to email apps with the roadrunner.com, mi.rr.com or nycap.rr.com address."
|
|
1064
|
+
],
|
|
1065
|
+
"undocumented": [],
|
|
1066
|
+
"sources": [
|
|
1067
|
+
"https://www.spectrum.net/support/internet/mobile-email-setup"
|
|
1068
|
+
],
|
|
1069
|
+
"guide": "https://emails.help/spectrum-email/server-settings",
|
|
1070
|
+
"verified": null
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
"slug": "suddenlink",
|
|
1074
|
+
"name": "Suddenlink Email (Optimum)",
|
|
1075
|
+
"domains": [
|
|
1076
|
+
"suddenlink.net"
|
|
1077
|
+
],
|
|
1078
|
+
"mx_patterns": [],
|
|
1079
|
+
"client_access": true,
|
|
1080
|
+
"incoming": {
|
|
1081
|
+
"imap": {
|
|
1082
|
+
"host": "imap.suddenlink.net",
|
|
1083
|
+
"port": 993,
|
|
1084
|
+
"security": "ssl",
|
|
1085
|
+
"security_documented": true
|
|
1086
|
+
},
|
|
1087
|
+
"pop3": {
|
|
1088
|
+
"host": "pop.suddenlink.net",
|
|
1089
|
+
"port": 995,
|
|
1090
|
+
"security": "ssl",
|
|
1091
|
+
"security_documented": true
|
|
1092
|
+
}
|
|
1093
|
+
},
|
|
1094
|
+
"outgoing": {
|
|
1095
|
+
"smtp": {
|
|
1096
|
+
"host": "smtp.suddenlink.net",
|
|
1097
|
+
"port": 465,
|
|
1098
|
+
"security": "ssl",
|
|
1099
|
+
"security_documented": true
|
|
1100
|
+
}
|
|
1101
|
+
},
|
|
1102
|
+
"username": "Your full email address",
|
|
1103
|
+
"authentication": "The password for your email address. Turn on \u201CMy outgoing server requires authentication\u201D.",
|
|
1104
|
+
"notes": [],
|
|
1105
|
+
"undocumented": [],
|
|
1106
|
+
"sources": [
|
|
1107
|
+
"https://www.optimum.net/FAQ/#/answers/a_id/216"
|
|
1108
|
+
],
|
|
1109
|
+
"guide": "https://emails.help/optimum-email/server-settings",
|
|
1110
|
+
"verified": null
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
"slug": "tuta",
|
|
1114
|
+
"name": "Tuta Mail",
|
|
1115
|
+
"domains": [
|
|
1116
|
+
"tuta.com",
|
|
1117
|
+
"tutanota.com",
|
|
1118
|
+
"tutanota.de",
|
|
1119
|
+
"tutamail.com",
|
|
1120
|
+
"tuta.io",
|
|
1121
|
+
"keemail.me"
|
|
1122
|
+
],
|
|
1123
|
+
"mx_patterns": [],
|
|
1124
|
+
"client_access": false,
|
|
1125
|
+
"notes": [],
|
|
1126
|
+
"undocumented": [],
|
|
1127
|
+
"sources": [
|
|
1128
|
+
"https://tuta.com/blog/beta-time-is-over-release-notes"
|
|
1129
|
+
],
|
|
1130
|
+
"guide": "https://emails.help/tuta/server-settings",
|
|
1131
|
+
"verified": null
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
"slug": "verizon",
|
|
1135
|
+
"name": "Verizon.net (AOL Mail)",
|
|
1136
|
+
"domains": [
|
|
1137
|
+
"verizon.net"
|
|
1138
|
+
],
|
|
1139
|
+
"mx_patterns": [],
|
|
1140
|
+
"client_access": true,
|
|
1141
|
+
"incoming": {
|
|
1142
|
+
"imap": {
|
|
1143
|
+
"host": "imap.aol.com",
|
|
1144
|
+
"port": 993,
|
|
1145
|
+
"security": "ssl",
|
|
1146
|
+
"security_documented": true
|
|
1147
|
+
},
|
|
1148
|
+
"pop3": {
|
|
1149
|
+
"host": "pop.verizon.net",
|
|
1150
|
+
"port": 995,
|
|
1151
|
+
"security": "ssl",
|
|
1152
|
+
"security_documented": true
|
|
1153
|
+
}
|
|
1154
|
+
},
|
|
1155
|
+
"outgoing": {
|
|
1156
|
+
"smtp": {
|
|
1157
|
+
"host": "smtp.verizon.net",
|
|
1158
|
+
"port": 465,
|
|
1159
|
+
"security": "ssl",
|
|
1160
|
+
"security_documented": true
|
|
1161
|
+
}
|
|
1162
|
+
},
|
|
1163
|
+
"username": "Your full address, including @verizon.net",
|
|
1164
|
+
"authentication": "Use an app that supports OAuth2, or create an AOL app password.",
|
|
1165
|
+
"notes": [
|
|
1166
|
+
"Verizon retired its email service; verizon.net addresses that moved to AOL use these AOL-published settings.",
|
|
1167
|
+
"If your verizon.net address moved to Yahoo instead, use Yahoo Mail\u2019s settings."
|
|
1168
|
+
],
|
|
1169
|
+
"undocumented": [],
|
|
1170
|
+
"sources": [
|
|
1171
|
+
"https://help.aol.com/articles/how-do-i-set-up-other-email-applications-to-send-and-receive-my-verizon-net-mail"
|
|
1172
|
+
],
|
|
1173
|
+
"guide": "https://emails.help/verizon-email/server-settings",
|
|
1174
|
+
"verified": null
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
"slug": "web-de",
|
|
1178
|
+
"name": "WEB.DE",
|
|
1179
|
+
"domains": [
|
|
1180
|
+
"web.de"
|
|
1181
|
+
],
|
|
1182
|
+
"mx_patterns": [],
|
|
1183
|
+
"client_access": true,
|
|
1184
|
+
"incoming": {
|
|
1185
|
+
"imap": {
|
|
1186
|
+
"host": "imap.web.de",
|
|
1187
|
+
"port": 993,
|
|
1188
|
+
"security": "ssl",
|
|
1189
|
+
"security_documented": true
|
|
1190
|
+
}
|
|
1191
|
+
},
|
|
1192
|
+
"outgoing": {
|
|
1193
|
+
"smtp": {
|
|
1194
|
+
"host": "smtp.web.de",
|
|
1195
|
+
"port": 587,
|
|
1196
|
+
"security": "starttls",
|
|
1197
|
+
"security_documented": true,
|
|
1198
|
+
"alternative": {
|
|
1199
|
+
"port": 465,
|
|
1200
|
+
"security": "ssl"
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
|
+
},
|
|
1204
|
+
"username": "Your full email address",
|
|
1205
|
+
"authentication": null,
|
|
1206
|
+
"notes": [
|
|
1207
|
+
"POP3 or IMAP has to be switched on in your WEB.DE settings before you can use them."
|
|
1208
|
+
],
|
|
1209
|
+
"undocumented": [],
|
|
1210
|
+
"sources": [
|
|
1211
|
+
"https://hilfe.web.de/pop-imap/imap/imap-serverdaten.html"
|
|
1212
|
+
],
|
|
1213
|
+
"guide": null,
|
|
1214
|
+
"verified": null
|
|
1215
|
+
},
|
|
1216
|
+
{
|
|
1217
|
+
"slug": "windstream",
|
|
1218
|
+
"name": "Windstream (Kinetic) Email",
|
|
1219
|
+
"domains": [
|
|
1220
|
+
"windstream.net"
|
|
1221
|
+
],
|
|
1222
|
+
"mx_patterns": [],
|
|
1223
|
+
"client_access": true,
|
|
1224
|
+
"incoming": {
|
|
1225
|
+
"imap": {
|
|
1226
|
+
"host": "imap.windstream.net",
|
|
1227
|
+
"port": 993,
|
|
1228
|
+
"security": "ssl",
|
|
1229
|
+
"security_documented": true
|
|
1230
|
+
}
|
|
1231
|
+
},
|
|
1232
|
+
"outgoing": {
|
|
1233
|
+
"smtp": {
|
|
1234
|
+
"host": "smtp.windstream.net",
|
|
1235
|
+
"port": 465,
|
|
1236
|
+
"security": "ssl",
|
|
1237
|
+
"security_documented": true,
|
|
1238
|
+
"alternative": {
|
|
1239
|
+
"port": 587,
|
|
1240
|
+
"security": null
|
|
1241
|
+
}
|
|
1242
|
+
}
|
|
1243
|
+
},
|
|
1244
|
+
"username": "Your full email address",
|
|
1245
|
+
"authentication": null,
|
|
1246
|
+
"notes": [
|
|
1247
|
+
"Windstream recommends IMAP. If one device uses IMAP, set every device to IMAP to avoid \u201CPOP lock\u201D.",
|
|
1248
|
+
"Accounts with no Webmail, POP or IMAP activity for 180 days become inactive."
|
|
1249
|
+
],
|
|
1250
|
+
"undocumented": [],
|
|
1251
|
+
"sources": [
|
|
1252
|
+
"https://www.gokinetic.com/support/my-account/email-101/what-server-settings-do-i-use-for-windstream-email",
|
|
1253
|
+
"https://www.gokinetic.com/support/my-account/email-101/how-do-i-recover-or-reset-my-email-password"
|
|
1254
|
+
],
|
|
1255
|
+
"guide": "https://emails.help/windstream-email/server-settings",
|
|
1256
|
+
"verified": null
|
|
1257
|
+
},
|
|
1258
|
+
{
|
|
1259
|
+
"slug": "xfinity",
|
|
1260
|
+
"name": "Xfinity Email (Comcast)",
|
|
1261
|
+
"domains": [
|
|
1262
|
+
"comcast.net"
|
|
1263
|
+
],
|
|
1264
|
+
"mx_patterns": [],
|
|
1265
|
+
"client_access": true,
|
|
1266
|
+
"incoming": {
|
|
1267
|
+
"imap": {
|
|
1268
|
+
"host": "imap.comcast.net",
|
|
1269
|
+
"port": 993,
|
|
1270
|
+
"security": "ssl",
|
|
1271
|
+
"security_documented": true
|
|
1272
|
+
},
|
|
1273
|
+
"pop3": {
|
|
1274
|
+
"host": "pop3.comcast.net",
|
|
1275
|
+
"port": 995,
|
|
1276
|
+
"security": "ssl",
|
|
1277
|
+
"security_documented": true
|
|
1278
|
+
}
|
|
1279
|
+
},
|
|
1280
|
+
"outgoing": {
|
|
1281
|
+
"smtp": {
|
|
1282
|
+
"host": "smtp.comcast.net",
|
|
1283
|
+
"port": 587,
|
|
1284
|
+
"security": "starttls",
|
|
1285
|
+
"security_documented": true,
|
|
1286
|
+
"alternative": {
|
|
1287
|
+
"port": 465,
|
|
1288
|
+
"security": "ssl"
|
|
1289
|
+
}
|
|
1290
|
+
}
|
|
1291
|
+
},
|
|
1292
|
+
"username": "Your full Comcast.net email address",
|
|
1293
|
+
"authentication": "Your Xfinity ID password. Turn on third-party access first: Xfinity Email \u203A Settings \u203A Security \u203A Third Party Access Security.",
|
|
1294
|
+
"notes": [
|
|
1295
|
+
"Port 25 isn\u2019t supported for sending, and POP port 110 no longer works.",
|
|
1296
|
+
"Xfinity recommends IMAP, so mail and folders stay in sync across devices."
|
|
1297
|
+
],
|
|
1298
|
+
"undocumented": [],
|
|
1299
|
+
"sources": [
|
|
1300
|
+
"https://www.xfinity.com/support/articles/email-client-programs-with-xfinity-email",
|
|
1301
|
+
"https://www.xfinity.com/support/articles/third-party-email-access"
|
|
1302
|
+
],
|
|
1303
|
+
"guide": "https://emails.help/xfinity-email/server-settings",
|
|
1304
|
+
"verified": null
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
"slug": "yahoo",
|
|
1308
|
+
"name": "Yahoo Mail",
|
|
1309
|
+
"domains": [
|
|
1310
|
+
"yahoo.com"
|
|
1311
|
+
],
|
|
1312
|
+
"mx_patterns": [],
|
|
1313
|
+
"client_access": true,
|
|
1314
|
+
"incoming": {
|
|
1315
|
+
"imap": {
|
|
1316
|
+
"host": "imap.mail.yahoo.com",
|
|
1317
|
+
"port": 993,
|
|
1318
|
+
"security": "ssl",
|
|
1319
|
+
"security_documented": true
|
|
1320
|
+
}
|
|
1321
|
+
},
|
|
1322
|
+
"outgoing": {
|
|
1323
|
+
"smtp": {
|
|
1324
|
+
"host": "smtp.mail.yahoo.com",
|
|
1325
|
+
"port": 465,
|
|
1326
|
+
"security": "ssl",
|
|
1327
|
+
"security_documented": true,
|
|
1328
|
+
"alternative": {
|
|
1329
|
+
"port": 587,
|
|
1330
|
+
"security": null
|
|
1331
|
+
}
|
|
1332
|
+
}
|
|
1333
|
+
},
|
|
1334
|
+
"username": "Your full email address",
|
|
1335
|
+
"authentication": "Yahoo asks you to generate an app password for third-party email apps.",
|
|
1336
|
+
"notes": [],
|
|
1337
|
+
"undocumented": [],
|
|
1338
|
+
"sources": [
|
|
1339
|
+
"https://help.yahoo.com/kb/SLN4075.html"
|
|
1340
|
+
],
|
|
1341
|
+
"guide": "https://emails.help/yahoo-mail/server-settings",
|
|
1342
|
+
"verified": null
|
|
1343
|
+
},
|
|
1344
|
+
{
|
|
1345
|
+
"slug": "yandex",
|
|
1346
|
+
"name": "Yandex Mail",
|
|
1347
|
+
"domains": [
|
|
1348
|
+
"yandex.com"
|
|
1349
|
+
],
|
|
1350
|
+
"mx_patterns": [],
|
|
1351
|
+
"client_access": true,
|
|
1352
|
+
"incoming": {
|
|
1353
|
+
"imap": {
|
|
1354
|
+
"host": "imap.yandex.com",
|
|
1355
|
+
"port": 993,
|
|
1356
|
+
"security": "ssl",
|
|
1357
|
+
"security_documented": true
|
|
1358
|
+
}
|
|
1359
|
+
},
|
|
1360
|
+
"outgoing": {
|
|
1361
|
+
"smtp": {
|
|
1362
|
+
"host": "smtp.yandex.com",
|
|
1363
|
+
"port": 465,
|
|
1364
|
+
"security": "ssl",
|
|
1365
|
+
"security_documented": true,
|
|
1366
|
+
"alternative": {
|
|
1367
|
+
"port": 587,
|
|
1368
|
+
"security": null
|
|
1369
|
+
}
|
|
1370
|
+
}
|
|
1371
|
+
},
|
|
1372
|
+
"username": "The part of your address before the @",
|
|
1373
|
+
"authentication": "An app password (type \u201CMail\u201D) created in your Yandex ID. It\u2019s shown only once.",
|
|
1374
|
+
"notes": [
|
|
1375
|
+
"Turn on mail-client access first: Mail settings \u203A Email clients \u203A \u201CFrom the imap.yandex.com server via IMAP\u201D, plus \u201CApp passwords and OAuth tokens\u201D.",
|
|
1376
|
+
"Yandex no longer updates POP3 support and doesn\u2019t guarantee it works."
|
|
1377
|
+
],
|
|
1378
|
+
"undocumented": [],
|
|
1379
|
+
"sources": [
|
|
1380
|
+
"https://www.yandex.com/support/mail/mail-clients/others.html"
|
|
1381
|
+
],
|
|
1382
|
+
"guide": "https://emails.help/yandex-mail/server-settings",
|
|
1383
|
+
"verified": null
|
|
1384
|
+
},
|
|
1385
|
+
{
|
|
1386
|
+
"slug": "zoho",
|
|
1387
|
+
"name": "Zoho Mail",
|
|
1388
|
+
"domains": [
|
|
1389
|
+
"zoho.com",
|
|
1390
|
+
"zohomail.com"
|
|
1391
|
+
],
|
|
1392
|
+
"mx_patterns": [
|
|
1393
|
+
"zoho.com"
|
|
1394
|
+
],
|
|
1395
|
+
"client_access": true,
|
|
1396
|
+
"incoming": {
|
|
1397
|
+
"imap": {
|
|
1398
|
+
"host": "imap.zoho.com",
|
|
1399
|
+
"port": 993,
|
|
1400
|
+
"security": "ssl",
|
|
1401
|
+
"security_documented": true
|
|
1402
|
+
}
|
|
1403
|
+
},
|
|
1404
|
+
"outgoing": {
|
|
1405
|
+
"smtp": {
|
|
1406
|
+
"host": "smtp.zoho.com",
|
|
1407
|
+
"port": 465,
|
|
1408
|
+
"security": "ssl",
|
|
1409
|
+
"security_documented": true,
|
|
1410
|
+
"alternative": {
|
|
1411
|
+
"port": 587,
|
|
1412
|
+
"security": "starttls"
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1415
|
+
},
|
|
1416
|
+
"username": "Your Zoho username or full Zoho Mail address",
|
|
1417
|
+
"authentication": null,
|
|
1418
|
+
"notes": [
|
|
1419
|
+
"Turn on IMAP Access first: Settings \u203A Mail Accounts \u203A your address \u203A IMAP.",
|
|
1420
|
+
"Paid organisation accounts (you@yourdomain.com) use imappro.zoho.com and smtppro.zoho.com instead.",
|
|
1421
|
+
"Your account\u2019s Server Configuration Details shows the exact servers for your data centre \u2014 use those if they differ.",
|
|
1422
|
+
"IMAP isn\u2019t available to newly signed-up free-plan users."
|
|
1423
|
+
],
|
|
1424
|
+
"undocumented": [],
|
|
1425
|
+
"sources": [
|
|
1426
|
+
"https://www.zoho.com/mail/help/imap-access.html"
|
|
1427
|
+
],
|
|
1428
|
+
"guide": "https://emails.help/zoho-mail/server-settings",
|
|
1429
|
+
"verified": null
|
|
1430
|
+
}
|
|
1431
|
+
]
|
|
1432
|
+
};
|
|
1433
|
+
|
|
1434
|
+
// src/dataset.ts
|
|
1435
|
+
var DEFAULT_ENDPOINT = "https://emails.help/api/email-providers.json";
|
|
1436
|
+
function bundledDataset() {
|
|
1437
|
+
return DATASET;
|
|
1438
|
+
}
|
|
1439
|
+
async function liveDataset(endpoint = DEFAULT_ENDPOINT, fetchImpl = globalThis.fetch, timeout = 5e3) {
|
|
1440
|
+
const signal = AbortSignal.timeout(timeout);
|
|
1441
|
+
const response = await fetchImpl(endpoint, { signal, headers: { accept: "application/json" } });
|
|
1442
|
+
if (!response.ok) {
|
|
1443
|
+
throw new Error(`emails-help: dataset endpoint returned ${response.status}`);
|
|
1444
|
+
}
|
|
1445
|
+
return await response.json();
|
|
1446
|
+
}
|
|
1447
|
+
function rowForDomain(dataset, domain) {
|
|
1448
|
+
const needle = domain.toLowerCase().trim();
|
|
1449
|
+
if (needle === "") return null;
|
|
1450
|
+
for (const row of dataset.providers) {
|
|
1451
|
+
if (row.domains.some((known) => known.toLowerCase() === needle)) {
|
|
1452
|
+
return row;
|
|
1453
|
+
}
|
|
1454
|
+
}
|
|
1455
|
+
return null;
|
|
1456
|
+
}
|
|
1457
|
+
function rowForMx(dataset, mxHosts2) {
|
|
1458
|
+
const hosts = mxHosts2.map((host) => host.toLowerCase().replace(/\.$/, ""));
|
|
1459
|
+
for (const row of dataset.providers) {
|
|
1460
|
+
for (const pattern of row.mx_patterns) {
|
|
1461
|
+
const suffix = pattern.toLowerCase();
|
|
1462
|
+
if (suffix !== "" && hosts.some((host) => host === suffix || host.endsWith(`.${suffix}`))) {
|
|
1463
|
+
return row;
|
|
1464
|
+
}
|
|
1465
|
+
}
|
|
1466
|
+
}
|
|
1467
|
+
return null;
|
|
1468
|
+
}
|
|
1469
|
+
function toServer2(server) {
|
|
1470
|
+
if (server === void 0) return null;
|
|
1471
|
+
return {
|
|
1472
|
+
host: server.host,
|
|
1473
|
+
port: server.port,
|
|
1474
|
+
security: server.security,
|
|
1475
|
+
securityDocumented: server.security_documented
|
|
1476
|
+
};
|
|
1477
|
+
}
|
|
1478
|
+
function fromRow(row) {
|
|
1479
|
+
const smtpRow = row.outgoing?.smtp;
|
|
1480
|
+
let smtp = toServer2(smtpRow);
|
|
1481
|
+
if (smtp !== null && smtpRow?.alternative !== void 0) {
|
|
1482
|
+
smtp = { ...smtp, alternative: smtpRow.alternative };
|
|
1483
|
+
}
|
|
1484
|
+
return {
|
|
1485
|
+
found: true,
|
|
1486
|
+
// A row that publishes a server but leaves a field unstated is a
|
|
1487
|
+
// weaker answer than one that states everything, and the caller
|
|
1488
|
+
// deserves to be able to tell them apart without reading the array.
|
|
1489
|
+
confidence: row.undocumented.length > 0 ? "undocumented" : "documented",
|
|
1490
|
+
provider: row.name,
|
|
1491
|
+
clientAccess: row.client_access,
|
|
1492
|
+
imap: toServer2(row.incoming?.imap),
|
|
1493
|
+
pop3: toServer2(row.incoming?.pop3),
|
|
1494
|
+
smtp,
|
|
1495
|
+
username: row.username ?? null,
|
|
1496
|
+
authentication: row.authentication ?? null,
|
|
1497
|
+
undocumented: row.undocumented,
|
|
1498
|
+
notes: row.notes,
|
|
1499
|
+
sources: row.sources,
|
|
1500
|
+
guide: row.guide,
|
|
1501
|
+
verified: row.verified
|
|
1502
|
+
};
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
// src/mx.ts
|
|
1506
|
+
async function mxHosts(domain, timeout) {
|
|
1507
|
+
let resolveMx;
|
|
1508
|
+
try {
|
|
1509
|
+
const dns = await import("dns");
|
|
1510
|
+
resolveMx = dns.promises.resolveMx;
|
|
1511
|
+
} catch {
|
|
1512
|
+
return null;
|
|
1513
|
+
}
|
|
1514
|
+
try {
|
|
1515
|
+
const records = await withTimeout(resolveMx(domain), timeout);
|
|
1516
|
+
return records.slice().sort((a, b) => a.priority - b.priority).map((record) => record.exchange.toLowerCase().replace(/\.$/, ""));
|
|
1517
|
+
} catch (error) {
|
|
1518
|
+
const code = error.code;
|
|
1519
|
+
if (code === "ENODATA" || code === "ENOTFOUND") return [];
|
|
1520
|
+
return null;
|
|
1521
|
+
}
|
|
1522
|
+
}
|
|
1523
|
+
function withTimeout(promise, ms) {
|
|
1524
|
+
return Promise.race([
|
|
1525
|
+
promise,
|
|
1526
|
+
new Promise((_, reject) => {
|
|
1527
|
+
const timer = setTimeout(() => reject(new Error("dns timeout")), ms);
|
|
1528
|
+
if (typeof timer.unref === "function") timer.unref();
|
|
1529
|
+
})
|
|
1530
|
+
]);
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
|
+
// src/resolve.ts
|
|
1534
|
+
var ALL_METHODS = ["dataset", "autoconfig", "well-known", "ispdb", "autodiscover", "mx"];
|
|
1535
|
+
function toDomain(input) {
|
|
1536
|
+
let value2 = input.trim().toLowerCase();
|
|
1537
|
+
const at = value2.lastIndexOf("@");
|
|
1538
|
+
if (at !== -1) value2 = value2.slice(at + 1);
|
|
1539
|
+
value2 = value2.replace(/^[a-z]+:\/\//, "").replace(/[/?#].*$/, "");
|
|
1540
|
+
value2 = value2.replace(/^\.+|\.+$/g, "");
|
|
1541
|
+
value2 = value2.replace(/^\[|\]$/g, "").replace(/:\d+$/, "");
|
|
1542
|
+
return value2;
|
|
1543
|
+
}
|
|
1544
|
+
function empty(input, domain) {
|
|
1545
|
+
return {
|
|
1546
|
+
input,
|
|
1547
|
+
domain,
|
|
1548
|
+
found: false,
|
|
1549
|
+
method: null,
|
|
1550
|
+
confidence: null,
|
|
1551
|
+
provider: null,
|
|
1552
|
+
clientAccess: true,
|
|
1553
|
+
imap: null,
|
|
1554
|
+
pop3: null,
|
|
1555
|
+
smtp: null,
|
|
1556
|
+
username: null,
|
|
1557
|
+
authentication: null,
|
|
1558
|
+
undocumented: [],
|
|
1559
|
+
notes: [],
|
|
1560
|
+
sources: [],
|
|
1561
|
+
guide: null,
|
|
1562
|
+
verified: null,
|
|
1563
|
+
checkedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
1564
|
+
trail: []
|
|
1565
|
+
};
|
|
1566
|
+
}
|
|
1567
|
+
function applyConfig(result, config, method, source) {
|
|
1568
|
+
return {
|
|
1569
|
+
...result,
|
|
1570
|
+
found: true,
|
|
1571
|
+
method,
|
|
1572
|
+
// A config file published by the domain itself, or by Mozilla on its
|
|
1573
|
+
// behalf, is the operator stating the values. That is documentation.
|
|
1574
|
+
confidence: "documented",
|
|
1575
|
+
provider: config.provider,
|
|
1576
|
+
imap: config.imap,
|
|
1577
|
+
pop3: config.pop3,
|
|
1578
|
+
smtp: config.smtp,
|
|
1579
|
+
username: config.username,
|
|
1580
|
+
sources: [source]
|
|
1581
|
+
};
|
|
1582
|
+
}
|
|
1583
|
+
async function resolve(input, options = {}) {
|
|
1584
|
+
const {
|
|
1585
|
+
methods = ALL_METHODS,
|
|
1586
|
+
timeout = 5e3,
|
|
1587
|
+
live = false,
|
|
1588
|
+
endpoint,
|
|
1589
|
+
fetch: fetchImpl = globalThis.fetch
|
|
1590
|
+
} = options;
|
|
1591
|
+
const domain = toDomain(input);
|
|
1592
|
+
let result = empty(input, domain);
|
|
1593
|
+
if (domain === "" || !domain.includes(".")) {
|
|
1594
|
+
return result;
|
|
1595
|
+
}
|
|
1596
|
+
let dataset = null;
|
|
1597
|
+
const needsDataset = methods.includes("dataset") || methods.includes("mx");
|
|
1598
|
+
if (needsDataset) {
|
|
1599
|
+
if (live) {
|
|
1600
|
+
try {
|
|
1601
|
+
dataset = await liveDataset(endpoint, fetchImpl, timeout);
|
|
1602
|
+
} catch (error) {
|
|
1603
|
+
dataset = bundledDataset();
|
|
1604
|
+
result.trail.push({ method: "dataset", outcome: "error", detail: error.message });
|
|
1605
|
+
}
|
|
1606
|
+
} else {
|
|
1607
|
+
dataset = bundledDataset();
|
|
1608
|
+
}
|
|
1609
|
+
}
|
|
1610
|
+
for (const method of methods) {
|
|
1611
|
+
try {
|
|
1612
|
+
if (method === "dataset") {
|
|
1613
|
+
const row = dataset === null ? null : rowForDomain(dataset, domain);
|
|
1614
|
+
if (row !== null) {
|
|
1615
|
+
result.trail.push({ method, outcome: "hit" });
|
|
1616
|
+
return { ...result, ...fromRow(row), method };
|
|
1617
|
+
}
|
|
1618
|
+
result.trail.push({ method, outcome: "miss" });
|
|
1619
|
+
continue;
|
|
1620
|
+
}
|
|
1621
|
+
if (method === "autoconfig" || method === "well-known") {
|
|
1622
|
+
const target = autoconfigUrls(domain).find((entry) => entry.method === method);
|
|
1623
|
+
if (target === void 0) continue;
|
|
1624
|
+
const config = await fetchClientConfig(target.url, fetchImpl, timeout);
|
|
1625
|
+
if (config !== null) {
|
|
1626
|
+
result.trail.push({ method, outcome: "hit" });
|
|
1627
|
+
return applyConfig(result, config, method, target.url);
|
|
1628
|
+
}
|
|
1629
|
+
result.trail.push({ method, outcome: "miss" });
|
|
1630
|
+
continue;
|
|
1631
|
+
}
|
|
1632
|
+
if (method === "ispdb") {
|
|
1633
|
+
const url = ispdbUrl(domain);
|
|
1634
|
+
const config = await fetchClientConfig(url, fetchImpl, timeout);
|
|
1635
|
+
if (config !== null) {
|
|
1636
|
+
result.trail.push({ method, outcome: "hit" });
|
|
1637
|
+
return applyConfig(result, config, method, url);
|
|
1638
|
+
}
|
|
1639
|
+
result.trail.push({ method, outcome: "miss" });
|
|
1640
|
+
continue;
|
|
1641
|
+
}
|
|
1642
|
+
if (method === "autodiscover") {
|
|
1643
|
+
result.trail.push({ method, outcome: "miss", detail: "not implemented" });
|
|
1644
|
+
continue;
|
|
1645
|
+
}
|
|
1646
|
+
if (method === "mx") {
|
|
1647
|
+
const hosts = await mxHosts(domain, timeout);
|
|
1648
|
+
if (hosts === null) {
|
|
1649
|
+
result.trail.push({ method, outcome: "error", detail: "MX lookup failed" });
|
|
1650
|
+
continue;
|
|
1651
|
+
}
|
|
1652
|
+
const row = dataset === null ? null : rowForMx(dataset, hosts);
|
|
1653
|
+
if (row !== null) {
|
|
1654
|
+
result.trail.push({ method, outcome: "hit", detail: hosts[0] });
|
|
1655
|
+
return {
|
|
1656
|
+
...result,
|
|
1657
|
+
...fromRow(row),
|
|
1658
|
+
method,
|
|
1659
|
+
// The provider documents these values. Nobody documents that
|
|
1660
|
+
// THIS domain uses that provider — the MX records only make it
|
|
1661
|
+
// very likely. That gap is what `inferred` records.
|
|
1662
|
+
confidence: "inferred",
|
|
1663
|
+
notes: [
|
|
1664
|
+
...fromRow(row).notes,
|
|
1665
|
+
`Matched by MX record (${hosts[0]}). The provider documents these settings; that this domain uses the provider is inferred, not stated.`
|
|
1666
|
+
]
|
|
1667
|
+
};
|
|
1668
|
+
}
|
|
1669
|
+
result.trail.push({ method, outcome: "miss", detail: hosts[0] ?? "no MX records" });
|
|
1670
|
+
}
|
|
1671
|
+
} catch (error) {
|
|
1672
|
+
result.trail.push({ method, outcome: "error", detail: error.message });
|
|
1673
|
+
}
|
|
1674
|
+
}
|
|
1675
|
+
return result;
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1678
|
+
// src/cli.ts
|
|
1679
|
+
var USAGE = `
|
|
1680
|
+
emails-help \u2014 look up IMAP and SMTP settings for an address or domain
|
|
1681
|
+
|
|
1682
|
+
npx emails-help <address|domain> [options]
|
|
1683
|
+
|
|
1684
|
+
Options
|
|
1685
|
+
--json Print the full result as JSON
|
|
1686
|
+
--offline Use only the bundled dataset; make no network calls
|
|
1687
|
+
--live Fetch the newest dataset from emails.help
|
|
1688
|
+
--no-infer Never fall back to MX-based inference
|
|
1689
|
+
--timeout <ms> Per-request timeout (default 5000)
|
|
1690
|
+
-h, --help Show this
|
|
1691
|
+
|
|
1692
|
+
Examples
|
|
1693
|
+
npx emails-help posteo.de
|
|
1694
|
+
npx emails-help me@fastmail.com --json
|
|
1695
|
+
npx emails-help mycompany.com # resolves custom domains via MX
|
|
1696
|
+
`;
|
|
1697
|
+
function flag(argv, name) {
|
|
1698
|
+
return argv.includes(name);
|
|
1699
|
+
}
|
|
1700
|
+
function value(argv, name) {
|
|
1701
|
+
const at = argv.indexOf(name);
|
|
1702
|
+
return at === -1 ? void 0 : argv[at + 1];
|
|
1703
|
+
}
|
|
1704
|
+
function line(label, server) {
|
|
1705
|
+
if (server === null) return ` ${label.padEnd(6)} \u2014`;
|
|
1706
|
+
const security = server.security ?? "not stated";
|
|
1707
|
+
const caveat = server.securityDocumented ? "" : " (encryption not documented by the provider)";
|
|
1708
|
+
return ` ${label.padEnd(6)} ${server.host}:${server.port ?? "?"} ${security}${caveat}`;
|
|
1709
|
+
}
|
|
1710
|
+
function print(result) {
|
|
1711
|
+
if (!result.found) {
|
|
1712
|
+
console.log(`
|
|
1713
|
+
No settings found for ${result.domain}.
|
|
1714
|
+
`);
|
|
1715
|
+
console.log("Tried:");
|
|
1716
|
+
for (const step of result.trail) {
|
|
1717
|
+
console.log(` ${step.method.padEnd(12)} ${step.outcome}${step.detail ? ` \u2014 ${step.detail}` : ""}`);
|
|
1718
|
+
}
|
|
1719
|
+
console.log("");
|
|
1720
|
+
return;
|
|
1721
|
+
}
|
|
1722
|
+
console.log(`
|
|
1723
|
+
${result.provider ?? result.domain}`);
|
|
1724
|
+
console.log(` found via ${result.method} \xB7 confidence: ${result.confidence}`);
|
|
1725
|
+
if (!result.clientAccess) {
|
|
1726
|
+
console.log("\n This provider offers no IMAP or SMTP access at all.");
|
|
1727
|
+
console.log(" That is the answer, not missing data \u2014 use its own app or bridge.\n");
|
|
1728
|
+
return;
|
|
1729
|
+
}
|
|
1730
|
+
console.log("");
|
|
1731
|
+
console.log(line("IMAP", result.imap));
|
|
1732
|
+
if (result.pop3 !== null) console.log(line("POP3", result.pop3));
|
|
1733
|
+
console.log(line("SMTP", result.smtp));
|
|
1734
|
+
if (result.smtp?.alternative !== void 0) {
|
|
1735
|
+
const alt = result.smtp.alternative;
|
|
1736
|
+
console.log(` ${"".padEnd(6)} alternative port ${alt.port ?? "?"} ${alt.security ?? "not stated"}`);
|
|
1737
|
+
}
|
|
1738
|
+
if (result.username !== null) console.log(`
|
|
1739
|
+
username ${result.username}`);
|
|
1740
|
+
if (result.authentication !== null) console.log(` auth ${result.authentication}`);
|
|
1741
|
+
if (result.undocumented.length > 0) {
|
|
1742
|
+
console.log(`
|
|
1743
|
+
Not documented by the provider: ${result.undocumented.join(", ")}`);
|
|
1744
|
+
}
|
|
1745
|
+
for (const note of result.notes) console.log(`
|
|
1746
|
+
Note: ${note}`);
|
|
1747
|
+
if (result.sources.length > 0) {
|
|
1748
|
+
console.log("\n Sources:");
|
|
1749
|
+
for (const source of result.sources) console.log(` ${source}`);
|
|
1750
|
+
}
|
|
1751
|
+
if (result.guide !== null) console.log(`
|
|
1752
|
+
Guide: ${result.guide}`);
|
|
1753
|
+
if (result.verified !== null) console.log(` Last checked: ${result.verified}`);
|
|
1754
|
+
console.log("");
|
|
1755
|
+
}
|
|
1756
|
+
async function main() {
|
|
1757
|
+
const argv = process.argv.slice(2);
|
|
1758
|
+
const target = argv.find((arg) => !arg.startsWith("-") && argv[argv.indexOf(arg) - 1] !== "--timeout");
|
|
1759
|
+
if (target === void 0 || flag(argv, "-h") || flag(argv, "--help")) {
|
|
1760
|
+
console.log(USAGE);
|
|
1761
|
+
process.exit(target === void 0 ? 1 : 0);
|
|
1762
|
+
}
|
|
1763
|
+
let methods;
|
|
1764
|
+
if (flag(argv, "--offline")) methods = ["dataset"];
|
|
1765
|
+
else if (flag(argv, "--no-infer")) methods = ["dataset", "autoconfig", "well-known", "ispdb"];
|
|
1766
|
+
const timeoutRaw = value(argv, "--timeout");
|
|
1767
|
+
const result = await resolve(target, {
|
|
1768
|
+
methods,
|
|
1769
|
+
live: flag(argv, "--live"),
|
|
1770
|
+
timeout: timeoutRaw === void 0 ? void 0 : Number.parseInt(timeoutRaw, 10)
|
|
1771
|
+
});
|
|
1772
|
+
if (flag(argv, "--json")) {
|
|
1773
|
+
console.log(JSON.stringify(result, null, 2));
|
|
1774
|
+
} else {
|
|
1775
|
+
print(result);
|
|
1776
|
+
}
|
|
1777
|
+
process.exit(result.found ? 0 : 2);
|
|
1778
|
+
}
|
|
1779
|
+
main().catch((error) => {
|
|
1780
|
+
console.error(`emails-help: ${error.message}`);
|
|
1781
|
+
process.exit(1);
|
|
1782
|
+
});
|