You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2004/07/15 16:47:32 UTC

DO NOT REPLY [Bug 30112] - send-mail smtphost has no affect in logicsheet

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)