Package mireka.transmission
Interface Transmitter
-
- All Known Implementing Classes:
QueuingTransmitter
public interface TransmitterA reliable (as specified by SMTP) mail transmitting service. If it accepts the mail, i.e. it doesn't throw an exception immediately, then it also accepts the responsibility to deliver the mail. If necessary it periodically retries. If it gives up, then it creates and sends a Delivery Status Notification message to the sender.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidtransmit(Mail mail)Sends mail asynchronously.
-
-
-
Method Detail
-
transmit
void transmit(Mail mail) throws LocalMailSystemException
Sends mail asynchronously. It returns immediately. If necessary it queues the mail and retries periodically.- Throws:
LocalMailSystemException- if it cannot accept the mail, e.g. because the disk is full.
-
-