Skip to content

Latest commit

 

History

History
93 lines (61 loc) · 4.09 KB

README.md

File metadata and controls

93 lines (61 loc) · 4.09 KB

mailclena

Tool that logs into mail accounts and removes all mails.

Integrations

Average time to resolve an issue

Percentage of issues still open

Known Vulnerabilities

GPL v3.0

GitHub integrations

Github Action / CI

Github Action master branch status

Automatic generation of webpage:

pages-build-deployment

CI-Site

Code coverage

codecov

CodeQL - quality measures

CodeQL

Codacy - code quality and static analysis

Codacy Badge

How to run and use the application

You need to check out the application and build it with the help of Java and Maven.

$ ./mvnw
Project is being built.
$ java -jar target/mailclena-0.0.1-SNAPSHOT-executable.jar
22:58:33.294 [main] INFO  de.aikiit.mailclena.MailClena - Hello World :-)

Init the Maven wrapper via:

mvn wrapper:wrapper

Command line parameters

-usage: MailClena
- -c,--command <arg>    Command to execute - example: list or clean, default is list.
- -h,--host <arg>       Hostname - example: https://imap.yourisp.org
- -p,--password <arg>   Password - example: myfancypassword
- -u,--username <arg>   Username - example: [email protected]

Example call

Operation: clean

$ java -jar target/mailclena-0.0.1-SNAPSHOT-executable.jar -h=host.tld.org [email protected] -p=yourpassword -c=clean
00:04:20.144 [main] INFO  de.aikiit.mailclena.MailClena - MailClena is launching with the given configuration ....
00:04:20.972 [main] INFO  de.aikiit.mailclena.mail.MailClient - Found 0 messages.
00:04:21.422 [main] INFO  de.aikiit.mailclena.mail.MailClient - Starting to delete 0 messages.
00:04:21.455 [main] INFO  de.aikiit.mailclena.mail.MailClient - Expunge folder to actually remove messages.
00:04:21.455 [main] INFO  de.aikiit.mailclena.mail.MailClient - Finished to delete 0 messages.
00:04:21.866 [main] INFO  de.aikiit.mailclena.mail.MailClient - Found 0 messages.
00:04:21.898 [main] INFO  de.aikiit.mailclena.MailClena - MailClena is shutting down .... bye bye :-)

no operation / defaults to list

$ java -jar target/mailclena-0.0.1-SNAPSHOT-executable.jar -h=host.tld.org [email protected] -p=yourpassword
17:19:09.802 [main] INFO  de.aikiit.mailclena.MailClena - MailClena is launching with the given configuration ....
17:19:11.410 [main] INFO  de.aikiit.mailclena.mail.MailClient - No messages found - nothing to be done here.
17:19:11.410 [main] INFO  de.aikiit.mailclena.MailClena - MailClena is shutting down .... bye bye :-)

Project webpage

A Maven-generated site report is also available here.