View comments | RSS feed

JavaMail

This section describes JavaMail considerations for the JRun administrator. The JRun administrator is responsible for ensuring that the JRun server is defined with settings that allow it to provide access to a javax.mail.Session objects through JNDI.

At runtime, JavaMail clients retrieve the Session object through a JNDI lookup and use it as a factory for Transport and Store objects. You must provide the following settings:
Setting
Description
Store protocol
pop or imap
Transport protocol
Always smtp
Default mail server host name and user name
Default mail server and user name
Default smtp mail server name and user name
Default mail server and user name when sending e-mail
Default imap mail server name and user name
Default mail server and user name when received e-mail thorugh IMAP.
Default pop3 mail server name and user name
Default mail server and user name when received e-mail thorugh POP3.
Default sender e-mail address
E-mail address used if not specified in the code.

You make these settings by editing the jrun-resources.xml file with a text editor. If there are no JavaMail settings in the jrun-resources.xml file, JRun uses the default settings specified in the jrun.xml file.

Comments


albertj said on Sep 20, 2002 at 3:19 PM :
Hello

I have been searching your documentation to figure out if jRun ships with a pop/imap and smtp servers? looking at the xml files it looks like there might be an smtp server but not a pop/imap one. is this accurate or not? there is no info on this in your documentation.

much appreciated,

albert
digitalAnomaly said on Mar 24, 2005 at 9:05 AM :
As far as I have been able to find, there are no examples of the use of JRuns implementation of JavaMail, I think we need to add a few more links on this page to other useful documentation for this feature.

Jay Proulx
Senior Software Architect
Pollensoft Inc.

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/jrun/4/JRun_Administrators_Guide/resources4.htm