portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r587790 - /portals/jetspeed-2/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/administration/PortalAdministration.java
Date Wed, 24 Oct 2007 05:05:51 GMT
Author: taylor
Date: Tue Oct 23 22:05:51 2007
New Revision: 587790

URL: http://svn.apache.org/viewvc?rev=587790&view=rev
Log:
make sendEmail public api

Modified:
    portals/jetspeed-2/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/administration/PortalAdministration.java

Modified: portals/jetspeed-2/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/administration/PortalAdministration.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/administration/PortalAdministration.java?rev=587790&r1=587789&r2=587790&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/administration/PortalAdministration.java
(original)
+++ portals/jetspeed-2/trunk/jetspeed-api/src/main/java/org/apache/jetspeed/administration/PortalAdministration.java
Tue Oct 23 22:05:51 2007
@@ -22,6 +22,8 @@
 import javax.portlet.PortletConfig;
 import javax.portlet.PortletRequest;
 import javax.portlet.PortletResponse;
+
+import org.apache.jetspeed.administration.AdministrationEmailException;
 import org.apache.jetspeed.security.User;
 
 /**
@@ -104,6 +106,17 @@
                           String templatePath,
                           Map userAttributes)
         throws AdministrationEmailException;
+    
+    /**
+     * Helper to send an email to a recipient without the portal default sender, and without
mail merge
+     * 
+     * @param from the email address of the sender
+     * @param subject the subject of the email
+     * @param to the recipient email address
+     * @param text the message text
+     * @throws AdministrationEmailException
+     */
+    public void sendEmail(String from, String subject, String to, String text) throws AdministrationEmailException;
   
     
     /**
      * Lookup a user given an email address



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message