Smtp-call

From GreenVulcano Wiki
Revision as of 22:10, 1 February 2012 by Anonymous (talk) (Created page with "==Description== {{GVESB}} plugin for sending emails. =={{VULCON}} / {{GVCONSOLE}} Configuration== The smtp-call Element is used by Channel, routed-call. Its attributes...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

GreenVulcano® ESB plugin for sending emails.

VulCon / GV Console Configuration

The smtp-call Element is used by Channel, routed-call. Its attributes are:

  • type: call.
  • class: it.greenvulcano.gvesb.virtual.smtp.SMTPCallOperation.
  • name: Operation name. Used in the Flow section to associate workflow nodes to VCL operations.
  • jndi-name: JNDI name of the mail Session configured in the application server.
  • 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.
  • 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.
  • message-id-property: GVBuffer defines the properties that will contain the MessageID of the message sent. Default to MessageID.

It has the following subelements:

mail-message

This subelement defines the properties of the message. It is used by smtp-call and its attributes are:

  • sender-display-name: defines the display name of sender.
  • subject: The subject of the email.
    You can enter gvBuffer values using the following syntax:
    • for standard fields
    • ${system}
    • ${service}
    • ${id}
    • ${object}
    • ${retCode}
    • for properties
    • ${property['nome']}
  • content-type: Email content-type.
    The attribute's admitted values are:
    • text-plain
    • text-html
  • high-priority: The priority of the mail.
    The attribute's admitted values are:
    • true
    • false

Its subelements are: