pop-call

Plugin for receiving emails.

Fixed attributes:

  • class: Unmodifiable. Used by GreenVulcanoESB factory framework.
  • type: Unmodifiable. Used by GreenVulcanoESB factory framework.

Implied attributes:

  • max-read-messages: Maximum number of emails to be read. Default 10, a value of -1 means read all.
  • override-protocol-user: Corresponds to the property mail.protocol.user and overwrites the value of property mail.user specified in the configuration of the mail Session.
  • jndi-name: JNDI name of the mail Session configured in the application server.
  • export-EML: Also export a message in EML format. Default false.
  • delete-messages: Mark a processed message as DELETED. Default false.
  • expunge: Expunge (permanently remove) messages marked DELETED. Default false.
  • email-rx-cleaner: RegExp pattern for email address cleaning. Default “[A-z][A-z0-9]*([.][A-z0-9]+)[@][A-z0-9_]+([.][A-z0-9_]+)[.][A-z]{2,4}”.
  • override-protocol-host: Corresponds to the property mail.protocol.host and overwrites the value of property mail.host specified in the configuration of the mail Session.

Required attributes:

  • name: Operation name. Used in the ‘Flow’ section to associate workflow nodes to VCL operations.

Subelements

pop-call has the followong subelements:

  • Description (optional).
  • JNDIHelper (optional).
  • mail-properties (optional).

mail-properties

The SMTP protocol provider supports the following properties, which may be set in the JavaMail Session object. The properties are always set as strings; the Type column describes how the string is interpreted. For example, use props.put(“mail.smtp.port”, “888”); to set the mail.smtp.port property, which is of type int. Note that if you’re using the “smtps” protocol to access SMTP over SSL, all the properties would be named “mail.smtps.*”.

Subelements

mail-properties has the followong subelement:

  • mail-property (at least one element).

mail-property

Name value pair that contains the properties to set.

Required attributes:

  • value: Property value. Can contains placeholder to be resolved at runtime.
  • name: Property name.