javamail addTransportListener监听

after transport.addTransportListener(),be sure not to use Transport.send().

 

After java mail sends an email and adds a listener, use the Transport.sendMessage() method, and the monitoring is effective.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326914766&siteId=291194637