Interface ImmediateSender

  • All Known Implementing Classes:
    DirectImmediateSender, IndirectImmediateSender

    public interface ImmediateSender
    An ImmediateSender makes a single, synchronous attempt to deliver mail to a remote system. If it cannot transmit the mail to any of the MX hosts of the domain, then it throws an exception, it does not retry later.
    • Method Detail

      • singleDomainOnly

        boolean singleDomainOnly()
        Returns true if the created ImmediateSender requires that all recipients of the mail to be sent have the same remote-part.