@Test void getToShouldReturnReversePathOnly() { assertThat(dsnBounce.getTo()).containsOnly(SpecialAddress.REVERSE_PATH.toInternetAddress()); }
@Override public List<InternetAddress> getTo() { return TO_INTERNET_ADDRESSES; }
DSNBounce extends GenericMailet implements RedirectNotify { @Override public List<InternetAddress> getTo() { return TO_INTERNET_ADDRESSES; } }
DSNBounce extends GenericMailet implements RedirectNotify { @Override public List<InternetAddress> getTo() { return TO_INTERNET_ADDRESSES; } @Inject  DSNBounce(DNSService dns);  DSNBounce(DNSService dns, DateTimeFormatter dateFormatter); }
DSNBounce extends GenericMailet implements RedirectNotify { @Override public List<InternetAddress> getTo() { return TO_INTERNET_ADDRESSES; } @Inject  DSNBounce(DNSService dns);  DSNBounce(DNSService dns, DateTimeFormatter dateFormatter); @Override void init(); @Override String getMailetInfo(); @Override InitParameters getInitParameters(); @Override Set<String> getAllowedInitParameters(); @Override DNSService getDNSService(); @Override String getMessage(Mail originalMail); @Override List<MailAddress> getRecipients(); @Override List<MailAddress> getRecipients(Mail originalMail); @Override List<InternetAddress> getTo(); @Override List<MailAddress> getTo(Mail originalMail); @Override Optional<MailAddress> getReplyTo(); @Override Optional<MailAddress> getReplyTo(Mail originalMail); @Override Optional<MailAddress> getReversePath(); @Override Optional<MailAddress> getReversePath(Mail originalMail); @Override Optional<MailAddress> getSender(); @Override Optional<MailAddress> getSender(Mail originalMail); @Override Optional<String> getSubjectPrefix(Mail newMail, String subjectPrefix, Mail originalMail); @Override void service(Mail originalMail); @Override MimeMessageModifier getMimeMessageModifier(Mail newMail, Mail originalMail); }
DSNBounce extends GenericMailet implements RedirectNotify { @Override public List<InternetAddress> getTo() { return TO_INTERNET_ADDRESSES; } @Inject  DSNBounce(DNSService dns);  DSNBounce(DNSService dns, DateTimeFormatter dateFormatter); @Override void init(); @Override String getMailetInfo(); @Override InitParameters getInitParameters(); @Override Set<String> getAllowedInitParameters(); @Override DNSService getDNSService(); @Override String getMessage(Mail originalMail); @Override List<MailAddress> getRecipients(); @Override List<MailAddress> getRecipients(Mail originalMail); @Override List<InternetAddress> getTo(); @Override List<MailAddress> getTo(Mail originalMail); @Override Optional<MailAddress> getReplyTo(); @Override Optional<MailAddress> getReplyTo(Mail originalMail); @Override Optional<MailAddress> getReversePath(); @Override Optional<MailAddress> getReversePath(Mail originalMail); @Override Optional<MailAddress> getSender(); @Override Optional<MailAddress> getSender(Mail originalMail); @Override Optional<String> getSubjectPrefix(Mail newMail, String subjectPrefix, Mail originalMail); @Override void service(Mail originalMail); @Override MimeMessageModifier getMimeMessageModifier(Mail newMail, Mail originalMail);  }