Activity - deliverToSMTP

Activity Type: Delivery

Description

Consumes input data and delivers it by email using the Standard Mail Transfer Protocol (SMTP).

Example

Reads input data from dataSource then composes and sends an email from Joe Bloggs to Tony Blair and George Bush:

<deliverToSMTP name="delivery">
  <fromLocal from="dataSource"/>
  <to>tony.blair@parliament.uk</to>
  <to>george.w.bush@whitehouse.gov</to>
  <from>joe@bloggs.com</from>
  <subject>The data you requested</subject>
  <server>smtp.bloggs.com</server>
</deliverToSMTP>

Specification

Element deliverToSMTP:

Input and Output Types

Data Resource Accessor

This activity can operate with any data resource accessor.

XML Schema

OGSA-DAI/schema/ogsadai/xsd/activities/deliver_to_smtp.xsd

Class

uk.org.ogsadai.activity.delivery.DeliverToSMTPActivity

Client Toolkit Class

uk.org.ogsadai.client.toolkit.activity.delivery.DeliverToSMTP