]> git.mxchange.org Git - addressbook-mailer-lib.git/commitdiff
must be the EJB project's name
authorRoland Häder <roland@mxchange.org>
Fri, 7 Jul 2017 23:44:42 +0000 (01:44 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 7 Jul 2017 23:44:42 +0000 (01:44 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/org/mxchange/addressbook/mailer/model/delivery/AddressbookMailer.java

index f30868943af9a62f6477a6ec3ae0087fcbf64eb0..09c4acbf535e73ec2b02b1ffdb84c9db039c451e 100644 (file)
@@ -55,7 +55,7 @@ public class AddressbookMailer extends BaseMailer implements DeliverableAddressb
                Context context = new InitialContext();
 
                // Try to lookup
-               this.mailSession = (Session) context.lookup("java:global/jfinancials-mailer/smtpSession"); //NOI18N
+               this.mailSession = (Session) context.lookup("java:global/jfinancials-ejb/smtpSession"); //NOI18N
        }
 
        @Override