-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added more documentation, more error messages and an example configur…
…ation
- Loading branch information
Wolfgang Apolinarski
committed
Jul 26, 2017
1 parent
21ead28
commit af738f5
Showing
5 changed files
with
88 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,14 @@ | ||
# Mail2Slack | ||
A small service that sends e-mails to slack. | ||
|
||
## Requirements | ||
* Currently only supports Gmail. | ||
|
||
## Build Requirements | ||
* Java 8 | ||
* Maven | ||
|
||
## Configuration | ||
See src/main/resources/settings.sample.conf for an example configuration file. | ||
## Other | ||
New features (individual icons, more configuration settings) will be added gradually. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd"> | ||
<id>release</id> | ||
<formats> | ||
<format>tar.gz</format> | ||
<format>zip</format> | ||
</formats> | ||
|
||
<fileSets> | ||
<fileSet> | ||
<includes> | ||
<include>README*</include> | ||
<include>pom.xml</include> | ||
</includes> | ||
</fileSet> | ||
<fileSet> | ||
<directory>target/classes</directory> | ||
<outputDirectory>bin</outputDirectory> | ||
<includes> | ||
<include>**/*.class</include> | ||
<include>/*.sample.conf</include> | ||
</includes> | ||
</fileSet> | ||
<fileSet> | ||
<directory>src/main/java</directory> | ||
<outputDirectory>src</outputDirectory> | ||
<includes> | ||
<include>**/*.java</include> | ||
</includes> | ||
</fileSet> | ||
<fileSet> | ||
<directory>target</directory> | ||
<outputDirectory>lib</outputDirectory> | ||
<includes> | ||
<include>Mail2Slack-*SNAPSHOT.jar</include> | ||
</includes> | ||
</fileSet> | ||
</fileSets> | ||
</assembly> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# This is a configuration file for the Mail2Slack server application | ||
|
||
|
||
# SECURITY = [STARTTLS|TLS|NONE] | ||
SECURITY = STARTTLS | ||
|
||
# USERNAME = me@example.com | ||
# PASSWORD = <PASSWORD> | ||
|
||
# RELEVANT-FOLDER - the folder that should be searched for new messages | ||
RELEVANT-FOLDER = inbox | ||
|
||
# DELETE-OLD-MESSAGES-AFTER-DAYS = [<DAYS>|0<NEVER>|-1<AS_SOON_AS_SENT>] | ||
DELETE-OLD-MESSAGES-AFTER-DAYS = 14 | ||
|
||
# IMAP-Settings: | ||
# IMAP-SERVER = imap.example.com | ||
IMAP-SERVER = imap.gmail.com | ||
|
||
# IMAP-PROTOCOL = [IMAPS] | ||
IMAP-PROTOCOL = IMAPS | ||
|
||
# Settings that are not used: | ||
# SMTP-SERVER = smtp.example.com | ||
SMTP-SERVER = smtp.gmail.com | ||
# SMTP-PORT = <PORT_NUMBER> | ||
SMTP-PORT = 587 | ||
|
||
SLACK-HOOK-URL = https://hooks.slack.com/services/<URL> |