Skip to content

Latest commit

 

History

History
64 lines (49 loc) · 1.93 KB

README.md

File metadata and controls

64 lines (49 loc) · 1.93 KB

ImapMailRules


Description

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.

Thirdparty / Thanks to:

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/

License

The MIT License (MIT)

Copyright (c) 2021 Kevin Landolt Detailed in the LICENSE File.

Program usage

Windows:

ImapMailRules.ConsoleApp.exe [PathToConfig] [silent]

Linux:

$ ./ImapMailRules.ConsoleApp [PathToConfig] [silent]

Parameters

Parameter Optional Default Value Description
PathToConfig yes config.xml Path to config File
silent yes false Mute the Commandline Output in ConsoleApp

Exitcodes

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!!

Questions

  • For any questions and information. Ask me over github ;-)