cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30112] - send-mail smtphost has no affect in logicsheet
Date Thu, 15 Jul 2004 14:47:32 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30112>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30112

send-mail smtphost has no affect in logicsheet





------- Additional Comments From smangano@ureach.com  2004-07-15 14:47 -------
Some investigation shows that this is caused by:

1) The use of Session.getDefaultInstance(properties) rather than 
Session.getInstance(properties).
If the default instance already exists then the properties are ignored.

2) The need to initialize the properties before calling getInstance

3) The need to initialize the session and message during setSmtpHost(String 
hostname)

Mime
View raw message