From 301235f5b2bac64b361ba9f73360e29f42e633e0 Mon Sep 17 00:00:00 2001 From: DaCHack <62812480+DaCHack@users.noreply.github.com> Date: Mon, 18 Aug 2025 19:12:18 +0200 Subject: [PATCH] Update fetchmail.py Add invisible Option of Option is ticked --- optional/fetchmail/fetchmail.py | 1 + 1 file changed, 1 insertion(+) diff --git a/optional/fetchmail/fetchmail.py b/optional/fetchmail/fetchmail.py index 51cf0c73..98cf3d42 100755 --- a/optional/fetchmail/fetchmail.py +++ b/optional/fetchmail/fetchmail.py @@ -69,6 +69,7 @@ def run(debug): if "OPTIONS" in os.environ: options += f' {os.environ["OPTIONS"]}' options += " ssl" if fetch["tls"] else "" options += " keep" if fetch["keep"] else " fetchall" + options += " invisible" if fetch["invisible"] else "" folders = f"folders {",".join(f'"{imaputf7encode(item).replace('"',r"\34")}"' for item in fetch["folders"]) or '"INBOX"'}" fetchmailrc += RC_LINE.format( user_email=escape_rc_string(fetch["user_email"]),