email

thumbnail
(0)

Version 1.1.1  by WSO2

Category : Siddhi IO
Supported Product Version : SP 4.0.0 SP 4.1.0 SP 4.2.0 SP 4.3.0 SP 4.4.0  

Summary

The siddhi-io-email extension is an extension to Siddhi that receives and publishes events via email. Using the extension, events can be published through smtp mail server and received through 'pop3' or 'imap' mail serves.


Associated Tags

email siddhi siddhi-io

Features provided by email extension


  • Email sink

    The email sink uses 'smtp' server to publish events via emails.
    It can be published events in 'text', 'xml' or 'json' formats.
    The user can define email sink parameters in either 'deployment yaml' file or stream definition.
    So that email source checks whether parameters are given in stream definition or 'ymal' file respectively.
    If it is not given in both places, then default values are taken for the optional parameters.
    If user need to configure server system parameters which are not given as options in stream definition then it is needed to define them in 'yaml' file under email sink properties.
    (Refer link: https://javaee.github.io/javamail/SMTP-Transport to more information about smtp server parameters).
    Further, some email account required to enable 'access to less secure apps' option (for gmail account you can enable it via https://myaccount.google.com/lesssecureapps).
  • Email source

    Email source allows user to receive events via emails.
    Email source can be configured using 'imap' or 'pop3' server to receive events.
    This allows user to filter the messages which satisfy the given criteria under 'search term' option.
    The user can define email source parameters in either 'deployment yaml' file or stream definition.
    So that email source checks whether parameters are given in stream definition and 'ymal' file respectively.
    If it is not given in both places, then default values are taken if defaults values are available.
    If user need to configure server system parameters which are not given as options in stream definition then it is needed to define them in 'yaml' file under email source properties.
    (Refer link: https://javaee.github.io/javamail/IMAP-Store , https://javaee.github.io/javamail/POP3-Store to more information about imap and pop3 server system parameters).

Extension

Download the JAR files of released versions from Maven Central:
https://mvnrepository.com/artifact/org.wso2.extension.siddhi.io.email/siddhi-io-email


Social Sites