aboutsummaryrefslogtreecommitdiff
path: root/samples/OpenEdge ABL/SendEmailAlgorithm.cls
blob: 8b8eecf8c7f602bbed95e6a056234870502dffa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*------------------------------------------------------------------------
    File        : SendEmailAlgorithm
    Purpose     :
    Syntax      :
    Description : Uses object-oriented Strategy Pattern to abstract away the
                  algorithm for sending an email by encapsulating it
                  into a data structure.
    Author(s)   : Abe Voelker
    Created     : Sat Jul 17 17:11:18 CDT 2010
    Notes       :
  ----------------------------------------------------------------------*/

USING Progress.Lang.*.

INTERFACE email.SendEmailAlgorithm:

    /* Returns: */
    /* SUCCESS = empty return string */
    /* FAILURE = error message in return string */
    METHOD PUBLIC CHARACTER sendEmail(INPUT ipobjEmail AS email.Email).

END INTERFACE.