I'm asking here if there is a way to ask a MTA (like EXIM) for
Delivery Status Notifications through Javamail library, as i know there is a class
called DeliveryStatus in javamail but i can't figure out how to use it in order to
get DSN from EXIM. Thanks
答案 0 :(得分:0)
RFC 1891介绍了如何申请投放状态通知,com.sun.mail.smtp package javadocs描述了您可以根据RFC 1891中的功能设置的mail.smtp.dsn.notify和mail.smtp.dsn.ret属性。您可以还可以使用SMTPMessage类,其中包含设置这些notification options的方法。