mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user