Class EmailConnector

java.lang.Object
org.bonitasoft.engine.connector.AbstractConnector
org.bonitasoft.connectors.email.EmailConnector
All Implemented Interfaces:
org.bonitasoft.engine.connector.Connector

public class EmailConnector extends org.bonitasoft.engine.connector.AbstractConnector
This connector provides an email sending service.
Author:
Matthieu Chaffotte, Yanyan Liu, Baptiste Mesta
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The files to attach to the email.
    static final String
    The "bcc" recipient(s) email address(es).
    static final String
    The "cc" recipient(s) email address(es).
    static final String
    Charset of the message
    static final String
    The sender's email address.
    static final String
    The extra header fields of the email.
    static final String
    Indicates whether the content of the email is in HTML format.
    static final String
    The message content of the email.
    static final String
    The password used for authentication.
    static final String
    The "Reply-to" recipient(s) email address(es).
    static final String
    The return-path email address.
    static final String
    The name or the IP address of the SMTP server.
    static final String
     
    static final String
    Indicates whether the SMTP server uses an SSL support.
    static final String
    Indicates whether the SMTP server uses a STARTTLS support.
    static final String
    The subject of the email.
    static final String
    The "to" recipient(s) email address(es).
    static final String
    Indicates whether the SMTP server certificate should be always trusted
    static final String
    The user name used for authentication.

    Fields inherited from class org.bonitasoft.engine.connector.AbstractConnector

    apiAccessor
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    void
     

    Methods inherited from class org.bonitasoft.engine.connector.AbstractConnector

    connect, disconnect, execute, getAPIAccessor, getExecutionContext, getInputParameter, getInputParameter, getOutputParameters, setAPIAccessor, setExecutionContext, setInputParameters, setOutputParameter

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • EmailConnector

      public EmailConnector()
  • Method Details

    • validateInputParameters

      public void validateInputParameters() throws org.bonitasoft.engine.connector.ConnectorValidationException
      Throws:
      org.bonitasoft.engine.connector.ConnectorValidationException
    • executeBusinessLogic

      protected void executeBusinessLogic() throws org.bonitasoft.engine.connector.ConnectorException
      Specified by:
      executeBusinessLogic in class org.bonitasoft.engine.connector.AbstractConnector
      Throws:
      org.bonitasoft.engine.connector.ConnectorException