Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 67824 invoked from network); 15 Jul 2004 14:46:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 15 Jul 2004 14:46:22 -0000 Received: (qmail 58677 invoked by uid 500); 15 Jul 2004 14:46:15 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 58537 invoked by uid 500); 15 Jul 2004 14:46:14 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 58392 invoked by uid 99); 15 Jul 2004 14:46:12 -0000 X-ASF-Spam-Status: No, hits=1.1 required=10.0 tests=NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [192.18.33.10] (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.27.1) with SMTP; Thu, 15 Jul 2004 07:46:11 -0700 Received: (qmail 3597 invoked by uid 50); 15 Jul 2004 14:47:32 -0000 Date: 15 Jul 2004 14:47:32 -0000 Message-ID: <20040715144732.3596.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: dev@cocoon.apache.org Cc: Subject: DO NOT REPLY [Bug 30112] - send-mail smtphost has no affect in logicsheet X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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)