Class EmailPlugin


  • public class EmailPlugin
    extends Object
    Author:
    Massimiliano Assante, Costantino Perciante
    • Method Detail

      • getInstance

        public static EmailPlugin getInstance​(org.gcube.vomanagement.usermanagement.UserManager userManager,
                                              String context)
        Parameters:
        context - the infrastucture context (scope)
        Returns:
      • sendNotification

        public void sendNotification​(String portalURL,
                                     String siteLandingPagePath,
                                     org.gcube.portal.databook.shared.Notification notification2Save,
                                     String vreName,
                                     String portalName,
                                     String senderEmail,
                                     Set<String> mentionedGroups,
                                     String... hashtags)
        enqueue the message to send
        Parameters:
        notification2Save -
        vreName -
        portalName -
        senderEmail -