Author: bago
Date: Sat Aug 20 09:35:34 2005
New Revision: 234093
URL: http://svn.apache.org/viewcvs?rev=234093&view=rev
Log:
Deprecated unused sendmails from MailServer. We provide this methods via the
MailetContext service (JAMES-412)
We could/should also remove this methods instead of deprecate them.
Modified:
james/server/trunk/src/java/org/apache/james/services/MailServer.java
Modified: james/server/trunk/src/java/org/apache/james/services/MailServer.java
URL:
http://svn.apache.org/viewcvs/james/server/trunk/src/java/org/apache/james/services/MailServer.java?rev=234093&r1=234092&r2=234093&view=diff
==============================================================================
--- james/server/trunk/src/java/org/apache/james/services/MailServer.java
(original)
+++ james/server/trunk/src/java/org/apache/james/services/MailServer.java Sat
Aug 20 09:35:34 2005
@@ -56,6 +56,8 @@
* @param msg - the MimeMessage of the headers and body content of
* the outgoing message
* @throws MessagingException - if the message fails to parse
+ *
+ * @deprecated You can use MailetContext service for this purpose
*/
void sendMail(MailAddress sender, Collection recipients, MimeMessage msg)
throws MessagingException;
@@ -68,6 +70,8 @@
* @param msg - an InputStream containing the headers and body content of
* the outgoing message
* @throws MessagingException - if the message fails to parse
+ *
+ * @deprecated You can use MailetContext service for this purpose
*/
void sendMail(MailAddress sender, Collection recipients, InputStream msg)
throws MessagingException;
@@ -84,6 +88,8 @@
* Pass a MimeMessage to this MailServer for processing
* @param message the message
* @throws MessagingException
+ *
+ * @deprecated You can use MailetContext service for this purpose
*/
void sendMail(MimeMessage message)
throws MessagingException;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]