From: Kab <ka...@us...> - 2004-04-06 21:22:40
|
User: kabkhan Date: 04/04/06 14:09:49 Modified: src/java/org/jboss/mail/smtp/handlers CmdMAIL.java package.html Log: Added support for bounce messages Revision Changes Path 1.12 +2 -1 jboss-mail/src/java/org/jboss/mail/smtp/handlers/CmdMAIL.java Index: CmdMAIL.java =================================================================== RCS file: /cvsroot/jboss/jboss-mail/src/java/org/jboss/mail/smtp/handlers/CmdMAIL.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- CmdMAIL.java 6 Apr 2004 16:56:32 -0000 1.11 +++ CmdMAIL.java 6 Apr 2004 21:09:49 -0000 1.12 @@ -82,7 +82,8 @@ } else if (!sender.startsWith("<") || !sender.endsWith(">")) { writer.println("501 Syntax error in MAIL command"); } else { - MailAddress address = MailAddress.parseSMTPStyle(sender); + boolean isfrom = true; + MailAddress address = MailAddress.parseSMTPStyle(sender, isfrom); if (!address.isValid()) { writer.println("501 Syntax error in sender address"); } else { 1.3 +3 -3 jboss-mail/src/java/org/jboss/mail/smtp/handlers/package.html Index: package.html =================================================================== RCS file: /cvsroot/jboss/jboss-mail/src/java/org/jboss/mail/smtp/handlers/package.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- package.html 11 Sep 2003 23:55:23 -0000 1.2 +++ package.html 6 Apr 2004 21:09:49 -0000 1.3 @@ -1,3 +1,3 @@ -<body> -<p>Provides handlers for the various SMTP commands.</p> -</body> +<body> +<p>Provides handlers for the various SMTP commands.</p> +</body> |