james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pgoldst...@apache.org
Subject cvs commit: jakarta-james/src/java/org/apache/james/core MimeMessageWrapper.java
Date Fri, 27 Sep 2002 04:09:16 GMT
pgoldstein    2002/09/26 21:09:16

  Modified:    src/java/org/apache/james/core MimeMessageWrapper.java
  Log:
  Missed a couple of hard coded header names.
  
  Revision  Changes    Path
  1.15      +3 -3      jakarta-james/src/java/org/apache/james/core/MimeMessageWrapper.java
  
  Index: MimeMessageWrapper.java
  ===================================================================
  RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/core/MimeMessageWrapper.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- MimeMessageWrapper.java	14 Sep 2002 06:22:36 -0000	1.14
  +++ MimeMessageWrapper.java	27 Sep 2002 04:09:16 -0000	1.15
  @@ -134,11 +134,11 @@
       private String getHeaderName(Message.RecipientType recipienttype) throws MessagingException
{
           String s;
           if (recipienttype == javax.mail.Message.RecipientType.TO) {
  -            s = "To";
  +            s = RFC2822Headers.TO;
           } else if (recipienttype == javax.mail.Message.RecipientType.CC) {
  -            s = "Cc";
  +            s = RFC2822Headers.CC;
           } else if (recipienttype == javax.mail.Message.RecipientType.BCC) {
  -            s = "Bcc";
  +            s = RFC2822Headers.BCC;
           } else if (recipienttype == RecipientType.NEWSGROUPS) {
               s = "Newsgroups";
           } else {
  
  
  

--
To unsubscribe, e-mail:   <mailto:james-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:james-dev-help@jakarta.apache.org>


Mime
View raw message