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=28485>.
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=28485

Cannot change SMTP in MailMessageSender after first initialisation of Session





------- Additional Comments From [EMAIL PROTECTED]  2004-05-11 17:39 -------
Does it work if

Session session = Session.getDefaultInstance(properties);

is moved after the

if ("null".equals(smtpHost)) {
    properties.put("mail.smtp.host", "127.0.0.1");
} else {
    properties.put("mail.smtp.host", smtpHost);
}

block, i.e. when a filled properties set is passed to getDefaultInstance()??

Joerg

Reply via email to