You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by qu...@apache.org on 2003/03/10 01:39:34 UTC
cvs commit: jakarta-commons-sandbox/email/src/java/org/apache/commons/mail MailMessage.java
quintonm 2003/03/09 16:39:34
Modified: email/src/java/org/apache/commons/mail MailMessage.java
Log:
- Moved package declaration to the first line of the file.
- Deprecated class - use SimpleEmail instead
Revision Changes Path
1.3 +11 -9 jakarta-commons-sandbox/email/src/java/org/apache/commons/mail/MailMessage.java
Index: MailMessage.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/email/src/java/org/apache/commons/mail/MailMessage.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- MailMessage.java 19 Jan 2003 20:06:17 -0000 1.2
+++ MailMessage.java 10 Mar 2003 00:39:34 -0000 1.3
@@ -1,3 +1,5 @@
+package org.apache.commons.mail;
+
/* ====================================================================
* The Apache Software License, Version 1.1
*
@@ -51,7 +53,6 @@
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*/
-package org.apache.commons.mail;
import java.io.PrintStream;
import java.io.UnsupportedEncodingException;
@@ -102,6 +103,7 @@
*
* @author <a href="mailto:david@i2a.com">David Duddleston</a>
* @version $Id$
+ * @deprecated Use SimpleEmail instead
*/
public class MailMessage
{
@@ -202,13 +204,13 @@
* @param b A String with the BODY.
* @param d True if debugging is wanted.
*/
- public MailMessage(String h,
- String t,
- String c,
- String bc,
- String f,
- String s,
- String b,
+ public MailMessage(String h,
+ String t,
+ String c,
+ String bc,
+ String f,
+ String s,
+ String b,
boolean d)
{
host = h;
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org