33/**
44 * conjoon
55 * lumen-app-email
6- * Copyright (c) 2019-2022 Thorsten Suckow-Homberg https://github.com/conjoon/lumen-app-email
6+ * Copyright (c) 2019-2023 Thorsten Suckow-Homberg https://github.com/conjoon/lumen-app-email
77 *
88 * Permission is hereby granted, free of charge, to any person
99 * obtaining a copy of this software and associated documentation
@@ -49,14 +49,14 @@ declare(strict_types=1);
4949| "outbox_address" => "smtp.gmail.com",
5050| "outbox_port" => 465,
5151| "outbox_secure" => "ssl",
52- | // the root mailbox. For most IMAP servers, this will
52+ | // the mailbox(es) the account is subscribed to.
53+ | // For most IMAP servers, this will
5354| // be "INBOX". Gmail users can use "[Gmail]" instead.
54- | // You can also provide a separate mailbox named "conjoon".
55- | // The root folders are the only folders which will be
55+ | // These mailboxes are the only folders which will be
5656| // queried and displayed in the folder hierarchy for the
5757| // Mail Account, along with its contents, including sub folders.
5858| // leave empty to return all mailboxes
59- | "root" => ["Gmail"],
59+ | "subscriptions" => ["Gmail"],
6060| // a regular expression that makes sure a user's email-address
6161| // is matched against "this" entry, e.g. a sign-in with the
6262| // username "dev@googlemail.com" would be associated with "this",
@@ -80,7 +80,7 @@ return [
8080 "outbox_address" => "smtp.gmail.com",
8181 "outbox_port" => 465,
8282 "outbox_secure" => "ssl",
83- "root" => ["INBOX", "[Gmail]", "[Google Mail]"],
83+ "subscriptions" => ["INBOX", "[Gmail]", "[Google Mail]"],
8484 "match" => ["/\@(googlemail.|gmail.)(com)$/mi"]
8585 ],
8686
@@ -97,7 +97,7 @@ return [
9797 "outbox_address" => "smtp-mail.outlook.com",
9898 "outbox_port" => 587,
9999 "outbox_secure" => "tls",
100- "root" => [],
100+ "subscriptions" => [],
101101 "match" => ["/\@(outlook.)(com)$/mi"]
102102 ],
103103
@@ -114,7 +114,7 @@ return [
114114 "outbox_address" => "smtp.mail.yahoo.com",
115115 "outbox_port" => 587,
116116 "outbox_secure" => "ssl",
117- "root" => ["INBOX"],
117+ "subscriptions" => ["INBOX"],
118118 "match" => ["/\@(freenet.)(de)$/mi"]
119119 ],
120120
@@ -131,7 +131,7 @@ return [
131131 "outbox_address" => "smtp.aol.com",
132132 "outbox_port" => 465,
133133 "outbox_secure" => "ssl",
134- "root" => [],
134+ "subscriptions" => [],
135135 "match" => ["/\@(aol.)(com)$/mi"]
136136 ],
137137
@@ -148,7 +148,7 @@ return [
148148 "outbox_address" => "mx.freenet.de",
149149 "outbox_port" => 587,
150150 "outbox_secure" => "tls",
151- "root" => ["INBOX"],
151+ "subscriptions" => ["INBOX"],
152152 "match" => ["/\@(freenet.)(de)$/mi"]
153153 ],
154154
@@ -165,7 +165,7 @@ return [
165165 "outbox_address" => "mail.gmx.net",
166166 "outbox_port" => 587,
167167 "outbox_secure" => "tls",
168- "root" => [],
168+ "subscriptions" => [],
169169 "match" => ["/\@(gmx.)(de|net)$/mi"]
170170 ],
171171
@@ -182,7 +182,7 @@ return [
182182 "outbox_address" => "smtp.web.de",
183183 "outbox_port" => 587,
184184 "outbox_secure" => "tls",
185- "root" => [],
185+ "subscriptions" => [],
186186 "match" => ["/\@(web.)(de)$/mi"]
187187 ]
188188
0 commit comments