EmailNotification (gCube Join New Portlet 2.3.0-SNAPSHOT API)
Date: 2015-10-22

org.gcube.portlets.user.joinnew.server

## Class EmailNotification

- java.lang.Object
- - org.gcube.portlets.user.joinnew.server.EmailNotification

-     public class EmailNotification
      extends Object

  A class for sending email
  Author:
    M. Assante

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `EmailNotification(String sender, String[] recipients, String subject, String body)` Class's constructor

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected static String` | `getPortalInstanceName()` read the portal instance name from a property file and returns it
    `void` | `sendEmail()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### EmailNotification

          public EmailNotification(String sender,
                           String[] recipients,
                           String subject,
                           String body)

      Class's constructor
      Parameters:
        `sender` -
        `recipients` -
        `subject` -
        `body` -

  - ### Method Detail

    - #### sendEmail

          public void sendEmail()

    - #### getPortalInstanceName

          protected static String getPortalInstanceName()

      read the portal instance name from a property file and returns it

Copyright © 2015. All Rights Reserved.