Skip to content

JuNeHasIssues/grails-mailwatcher

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

grails-mailwatcher

To Grails 3 updated Version of https://github.com/IntelliGrape/Grails-Mail-Watcher-Plugin

Usage Information

Configure: The plugin needs the following properties

grails {
    mailwatcher {
        email = "_youremailId_"
        password = "_password_"
        readTimeOut = 10000
        folderToRead="Inbox"
        protocol = "imaps"
        host = "imap.gmail.com"
        port = "993"
        excludeSender = "test@test.com,test1@test1.com"
        filterSubject = "/\test-pattern.*$/"
    }
}
  • readTimeOut Timeout For WatcherJob

  • folderToRead This is the name of the Folder that app reads. Defaults to Inbox.Any other folder in your mail can also be specified.

  • protocol Protocol used for reading mail

  • host Hostname for the mail server

  • port Port to which app connects

  • excludeSender (optional) Mails from this sender/these senders won't be saved

  • filterSubject (optional) Only mails whose subject matches this regex pattern are saved

To log the mails that are read, change the logging level to info


RoadMap

  • Folder to look for in Mail can be given as regex

  • Can fire mail received event when a mail with specific pattern is received.

About

This Plugin reads unread mails from provided mail account Id

Resources

Stars

Watchers

Forks

Packages

No packages published