How to send Email asynchronously
2012-01-29 20:26
260 查看
In our projects, we send message to JMS queue, including mail template and parameters, then MDBs consume the messages in the queue and send the message to the SMTP server through the Mail Session in the WAS.
Noticeably, we shouldn't send mail message to SMTP server directly, as performance might be a potential problem when we do it in a synchronous way.
Further, this function should be encapsulated as a reusable jar.
Did I make myself clear?
Noticeably, we shouldn't send mail message to SMTP server directly, as performance might be a potential problem when we do it in a synchronous way.
Further, this function should be encapsulated as a reusable jar.
Did I make myself clear?
相关文章推荐
- How to send mail using any email account through Foxmail ? - Foxmail 6 漏洞,如何通过 Foxmail 用任意邮件账号发送邮件?
- How to Send an Email Using UTL_SMTP with Authenticated Mail Server
- How to make NAnt send an email using a real account
- How do I authenticate to send an email
- how to send email by jmail?
- How to send email via vbs using cdo
- How to Send an Email Using UTL_SMTP with Authenticated Mail Server. (文档 ID 885522.1)
- How to Use git send-email
- How to send an email from oracle workflow process using an AdHocRole?
- How to send Email through external SMTP server on Ubuntu 14.04
- prjSendMailInUniversity - How to send email using VB & Winsock - 邮件发送接收程序 - VB6 + Winsock
- Salesforce: How to Send Email with Default Template?
- How to test if the server is configured well to send email to external accoun
- How to Send an Email Using UTL_SMTP with Authenticated Mail Server
- How to send email via Django?
- How to use LabVIEW to send Email?
- How to send Email using C#
- How to Send an Email Using UTL_SMTP with Authenticated Mail Server
- How to Send an Email Using UTL_SMTP with Authenticated Mail Server
- 创造应用英语环境学英语-how to send email