jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24715] New: - Remote SMPT server fix
Date Fri, 14 Nov 2003 17:40:05 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24715>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24715

Remote SMPT server fix

           Summary: Remote SMPT server fix
           Product: Taglibs
           Version: 1.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Mailer Taglib
        AssignedTo: taglibs-dev@jakarta.apache.org
        ReportedBy: dabayev@factset.com


Session.getDefaultInstance(props, new MailAuthenticator(user, password));

This code overrides the Properties Class and sets the mail SMPT server back to 
localhost. If localhost is not running SMTP server then the email is not sent 
and an error is thrown.

Use this instead

sessionobj = Session.getInstance(props, new MailAuthenticator(user, password));

on all such occurencies.

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org


Mime
View raw message