Email Sender

Protocol

Email

 

 

Description

Send email messages to EmailAddress with Subject from EmailAddress using SMTP server Host.
Insert FieldNameList into the email message in a nicely formatted manner.

 

 

Comments

Default email port is 25.

If either of EmailAddress or Host parameters are missing, the message is not sent.

The login mode is hostname using Host.

Mail field Contents
From Address EmailAddress (1st)
To Address EmailAddress (2nd)
Subject Subject
SMTP Server Host
Message formatted, clean message

Special XML characters are translated (decoded) according to the XML character translation table.

 

Example

<destination objectId="EmailSndr1" type="EmailSender" stdout="FS.DemoAlive">
	<parameter type="EmailAddress">joeB@someAddress.com</parameter>
	<parameter type="Subject">Your key</parameter>
	<parameter type="EmailAddress">janeD@anotherAddress.com</parameter>
	<parameter type="Host">keyServer</parameter>
</destination>
 

Event Mapping

Incoming ECS event XML:

<event xmlns:ev="http://www.eventgnosis.com/">
	<ev:host>elmo</ev:host>
	<ev:app>Key Generator</ev:app>
	<ev:log>Windows Log</ev:log>
	<protocol>Windows</protocol>
	<ev:msg>Here is your key.</ev:msg>
</event> 
 

Resulting sent email:

{
  From Address support@eventgnosis.com
  To Address david@flyingeagle.com
  Subject Your generated key
  SMTP Server smtp.eventgnosis.com
(( Debug false) - java mailing matter)
  Message <event xmlns:ev="http://www.eventgnosis.com/">
      <ev:host>elmo</ev:host>
      <ev:app>Key Generator</ev:app>
      <ev:log>Windows Log</ev:log>
      <protocol>Windows</protocol>
      <ev:msg>Here is your key.</ev:msg>
</event>
}