The program "ImapMailRules" can apply rules to the mail messages of the INBOX similar to various mail clients. The following actions are available:
- MarkRead: Mark the matching mail as Read
- Move: Move the matching Mail in a subfolder of this mailbox
- Delete: Delete the matching mail permanently
All settings are configured in an configuration file. There is an example configuration file.
The "ImapMailRules.ConsoleApp" execute this program in command line mode.
Name: | Owner: | License: | Homepage: |
---|---|---|---|
Mailkit | Jeffrey Stedfast | MIT License | http://www.mimekit.net/ |
log4net | The Apache Software Foundation | Apache License, Version 2.0 | https://logging.apache.org/log4net |
log4net.xsd Schema | Roger Knapp | Apache License, Version 2.0 | http://csharptest.net/downloads/schema/log4net.xsd |
NETStandard.Library | Microsoft | MIT License | https://dotnet.microsoft.com/ |
The MIT License (MIT)
Copyright (c) 2021 Kevin Landolt Detailed in the LICENSE File.
Windows:
ImapMailRules.ConsoleApp.exe [PathToConfig] [silent]
Linux:
$ ./ImapMailRules.ConsoleApp [PathToConfig] [silent]
Parameter | Optional | Default Value | Description |
---|---|---|---|
PathToConfig | yes | config.xml | Path to config File |
silent | yes | false | Mute the Commandline Output in ConsoleApp |
Code | Description |
---|---|
0 | all Fine |
11 | No Connection to the Server after Connect & Authenticate! |
12 | Could not connect to Server! Look at inner Exception: ... |
77 | Config content Error!! Set Log Level to Debug and search the error in your ConfigFile. |
99 | No ConfigFile found!! |
- For any questions and information. Ask me over github ;-)