From 1c5e9da17b0ee9550c4e985c16c0c3b6b1759043 Mon Sep 17 00:00:00 2001 From: Mark Rogers Date: Tue, 13 Dec 2011 14:54:13 +0000 Subject: [PATCH] File missed from last check in. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32732 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../service/cmr/email/EmailDelivery.java | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 source/java/org/alfresco/service/cmr/email/EmailDelivery.java diff --git a/source/java/org/alfresco/service/cmr/email/EmailDelivery.java b/source/java/org/alfresco/service/cmr/email/EmailDelivery.java new file mode 100644 index 0000000000..f48a20ff46 --- /dev/null +++ b/source/java/org/alfresco/service/cmr/email/EmailDelivery.java @@ -0,0 +1,44 @@ +package org.alfresco.service.cmr.email; + +import java.io.Serializable; + +/** + * Delivery instructions for an email message. + * @author mrogers + * + */ +public class EmailDelivery implements Serializable +{ + private String recipient; + private String from; + private String auth; + + /** + * New Email Delivery Instructions. Who gets the message and who sent it. + * Which may be different from the contents of the message. + * @param recipient + * @param from + * @param auth - may be null if the email is not authenticated + */ + public EmailDelivery(String recipient, String from, String auth) + { + this.recipient = recipient; + this.from = from; + this.auth = auth; + } + + public String getRecipient() + { + return recipient; + } + + public String getFrom() + { + return from; + } + public String getAuth() + { + return auth; + } + +}