geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jboy...@apache.org
Subject cvs commit: incubator-geronimo/specs/javamail/src/resources/META-INF javamail.default.address.map javamail.default.providers
Date Mon, 18 Aug 2003 17:29:24 GMT
jboynes     2003/08/18 10:29:24

  Modified:    specs/javamail project.xml
  Added:       specs/javamail README.txt
               specs/javamail/src/resources/META-INF
                        javamail.default.address.map
                        javamail.default.providers
  Removed:     specs/javamail/src/java/META-INF
                        javamail.default.address.map
                        javamail.default.providers
  Log:
  Two patches from Alex Blewitt [Alex.Blewitt@ioshq.com]
  javamail.default resources reference org.apache.commons.mail - is this correct?
  
  Revision  Changes    Path
  1.4       +14 -4     incubator-geronimo/specs/javamail/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/specs/javamail/project.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- project.xml	16 Aug 2003 19:31:46 -0000	1.3
  +++ project.xml	18 Aug 2003 17:29:24 -0000	1.4
  @@ -9,12 +9,22 @@
     <name>Geronimo :: JavaMail Specification</name>
     <groupId>geronimo-spec</groupId>
     <id>geronimo-spec-javamail</id>
  -  <shortDescription></shortDescription>
  -  <description></description>
  +  <shortDescription>
  +    These classes represent the API of the JavaMail Specification,
  +    taken from J2EE 1.4 API documentation and on the JavaMail 1.3
  +    specification PDF.
  +  </shortDescription>
  +  <description>
  +    The JavaMail API allows programs to send mail messages and to be able to
  +    interrogate a remote mail store (e.g. POP/IMAP inbox) for the message
  +    location. This provides only the API; there are no implemented stores or
  +    transports here (but you may provide your own, or use the ones developed
  +    in geronimo-mail).
  +  </description>
     <siteDirectory></siteDirectory>
     <distributionDirectory></distributionDirectory>
     
  -  <package>javax</package>
  +  <package>javax.mail</package>
     <currentVersion>DEV</currentVersion>
     
     <!-- ============ -->
  
  
  
  1.1                  incubator-geronimo/specs/javamail/README.txt
  
  Index: README.txt
  ===================================================================
  JavaMail Specification 1.4
  ==========================
  
  These classes are based on the JavaMail Specification taken from J2EE 1.4 API
  documentation and on the JavaMail 1.3 specification PDF.
  
  The classes represent the JavaMail API and contain implementations of the 
  classes found in the javax.mail packages. In order to function correctly,
  these classes require:
  
  o The Java Activation Framework (JAF) in javax.activation
  o Java 2 (Java 1.2 or later)
  o Implementations of the JavaMail providers to deal with pop/imap/etc.
    (You may use this with the geronimo-mail implementation or write your own)
  
  This contains no JavaDoc: see 
    http://java.sun.com/products/javamail/
    http://java.sun.com/j2ee/1.4/docs/api/
  
  for more information on how to use JavaMail to send messages.
  
  Configuration
  -------------
  
  The JavaMail spec defines the following configuration files:
  
  javamail.providers [Defines which classes are used to map to protocols]
  javamail.address.map [Defines which message types (rfc822, news) map to protocols]
  
  They need to be in the CLASSPATH (or in a Jar) in a directory /META-INF/
  e.g. c:\mymail\META-INF\javamail.providers
  
  Providers
  ---------
  Provides a protocol, along with its implementation and whether it is a store
  or a transport (subclass of javax.mail.Store or javax.mail.Transport)
  
  protocol=smtp;type=transport;class=org.me.MySMTPTransport;vendor=Me Inc;version=1.0
  protocol=imap;type=store;class=org.me.MyIMAPStore;vendor=Me Inc;version=1.0
  
  Address Map
  -----------
  
  Contains entries in 'name=value' format:
  rfc822=smtp
  news=nntp
  
  Default
  =======
  
  To ensure that other files can be extended at a later stage, the JavaMail
  spec defines three locations for these files:
  
  $JAVA_HOME\lib\javamail.properties
  META-INF\javamail.properties
  META-INF\javamail.default.properties
  
  The files are located in that order and overwrite whatever the previous
  version contained, so if 'smtp' is defined in javamail.properties and
  javamail.default.properties, it will use the one from javamail.default.properties
  
  
  
  1.1                  incubator-geronimo/specs/javamail/src/resources/META-INF/javamail.default.address.map
  
  Index: javamail.default.address.map
  ===================================================================
  # This file configures the default behaviour of JavaMail. DO NOT EDIT.
  # Create a new file /META-INF/javamail.address.map and put
  # the same format lines in there.
  #
  # Note that you can't override these defaults, merely add to them.
  #
  rfc822=smtp
  news=nntp
  
  
  
  1.1                  incubator-geronimo/specs/javamail/src/resources/META-INF/javamail.default.providers
  
  Index: javamail.default.providers
  ===================================================================
  # This file configures the default behaviour of JavaMail. DO NOT EDIT.
  # Create a new file /META-INF/javamail.providers and put
  # the same format lines in there.
  #
  # Note that you can't override these defaults, merely add to them.
  #
  protocol=imap; type=store; class=org.apache.commons.mail.imap.IMAPStore; vendor=Apache Software
Foundation; version=1.0
  protocol=pop3; type=store; class=org.apache.commons.mail.pop3.POP3Store; vendor=Apache Software
Foundation; version=1.0
  protocol=pop; type=store; class=org.apache.commons.mail.pop3.POP3Store; vendor=Apache Software
Foundation; version=1.0
  protocol=smtp; type=transport; class=org.apache.commons.mail.smtp.SMTPTransport; vendor=Apache
Software Foundation; version=1.0
  protocol=nntp; type=transport; class=org.apache.commons.mail.nntp.NNTPTransport; vendor=Apache
Software Foundation; version=1.0
  
  
  

Mime
View raw message