List of usage examples for javax.mail.event TransportEvent getValidSentAddresses
public Address[] getValidSentAddresses()
From source file:org.tsm.concharto.service.EmailService.java
public void messageDelivered(TransportEvent e) { Address[] validSentAddresses = e.getValidSentAddresses(); String addressList = "TransportListener.messageDelivered. Valid Addresses: " + StringUtils.join(validSentAddresses, ','); log.info(addressList);/*from w w w.ja v a2 s.c o m*/ }
From source file:transport.java
public void messageDelivered(TransportEvent e) { System.out.println(">>> TransportListener.messageDelivered()."); System.out.println(" Valid Addresses:"); Address[] valid = e.getValidSentAddresses(); if (valid != null) { for (int i = 0; i < valid.length; i++) System.out.println(" " + valid[i]); }// www. j ava 2s . com }
From source file:transport.java
public void messageDelivered(TransportEvent e) { System.out.print(">>> TransportListener.messageDelivered()."); System.out.println(" Valid Addresses:"); Address[] valid = e.getValidSentAddresses(); if (valid != null) { for (int i = 0; i < valid.length; i++) System.out.println(" " + valid[i]); }// w ww . j ava 2s . com }
From source file:transport.java
public void messagePartiallyDelivered(TransportEvent e) { System.out.println(">>> TransportListener.messagePartiallyDelivered()."); System.out.println(" Valid Addresses:"); Address[] valid = e.getValidSentAddresses(); if (valid != null) { for (int i = 0; i < valid.length; i++) System.out.println(" " + valid[i]); }/* ww w . j a v a2 s. c o m*/ System.out.println(" Valid Unsent Addresses:"); Address[] unsent = e.getValidUnsentAddresses(); if (unsent != null) { for (int i = 0; i < unsent.length; i++) System.out.println(" " + unsent[i]); } System.out.println(" Invalid Addresses:"); Address[] invalid = e.getInvalidAddresses(); if (invalid != null) { for (int i = 0; i < invalid.length; i++) System.out.println(" " + invalid[i]); } }