This commit is contained in:
wrongecho
2024-09-14 23:43:54 +01:00
parent 6975d6ef44
commit c65db3431d
33 changed files with 211 additions and 293 deletions

View File

@@ -345,7 +345,7 @@ function createMailboxFolder($client, $folderName) {
}
// Function to subscribe to a folder in the mailbox
function subscribeMailboxFolder($client, $folder) {
function subscribeMailboxFolder($folder) {
if ($folder) {
try {
// Subscribe to the folder
@@ -378,7 +378,7 @@ $client->connect();
$folder = createMailboxFolder($client, 'ITFlow');
// Subscribe to the "ITFlow" mailbox folder
subscribeMailboxFolder($client, $folder);
subscribeMailboxFolder($folder);
// Possible names for the inbox folder
$inboxNames = ['Inbox', 'INBOX', 'inbox'];