package me.normanmaurer.niosmtp;

/**
 * Status for the delivery of an email to a recipient
 * 
 * @author Norman Maurer
 *
 */
public interface DeliveryRecipientStatus {

    public enum Status{
        Ok,
        PermanentError,
        TemporaryError
    }
    /**
     * Return the {@link SMTPResponse} which was returned for the recipient. 
     * 
     * @return response
     */
    public SMTPResponse getResponse();
    

    /**
     * Return the status
     * 
     * @return status
     */
    public Status getStatus();
    
    /**
     * Return the email-address of the recipient
     * 
     * @return address
     */
    public String getAddress();
}

@@ -201,35 +201,307 @@
     
-Ok,%0A        PermanentError,
+/**%0A         * Email was successful delivered to the recipient%0A         * %0A         */%0A        Ok,%0A        %0A        /**%0A         * Email was permanent reject for the recipient%0A         */%0A        PermanentError,%0A        %0A        /**%0A         * Email was temporar reject for the recipient%0A         */
 %0A   
@@ -526,16 +526,21 @@
 r%0A    %7D%0A
+    %0A
     /**%0A

Add javadocs