Javamail as JNDI resource in tomcat

We want to send mail from inside my tomcat web application. I inherited some code from a predecessor that uses a context configuration file inside tomcat to define the data source that I use in my application through a JNDI lookup. This file currently looks like this: I have never been able to find documentation for this and never met the guy who did it so I don't really understand it, I simply know that it works. This morning, it occurred to me that I could use the same tools to configure the mail server. Does anyone know how to do this inside the context configuration file?

以上就是Javamail as JNDI resource in tomcat的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准