View Javadoc
1   /* 
2   Copyright (c) 2010, NHIN Direct Project
3   All rights reserved.
4   
5   Authors:
6      Greg Meyer      gm2552@cerner.com
7    
8   Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
9   
10  Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
11  Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer 
12  in the documentation and/or other materials provided with the distribution.  Neither the name of the The NHIN Direct Project (nhindirect.org). 
13  nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
14  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 
15  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS 
16  BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 
17  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 
18  STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 
19  THE POSSIBILITY OF SUCH DAMAGE.
20  */
21  
22  package org.nhindirect.gateway.smtp.dsn.impl;
23  
24  public class FailedDeliveryDSNCreatorOptions 
25  {
26  	public static final String DEFAULT_PREFIX = "Undeliverable: ";
27  	
28  	public static final String DEFAULT_MTA_NAME = "Local Delivery Service";
29  	
30  	public static final String DEFAULT_POSTMASTER = "postmaster";
31  	
32  	public static final String DEFAULT_FAILED_RECIP_TITLE = "Failed Recipients:";
33  	
34  	public static final String DEFAULT_ERROR_MESSAGE_TITLE = "Error Message:";
35  	
36  	public static final String DEFAULT_ERROR_MESSAGE = "The Direct address that you tried to reach could not be located or does not exist. Try double-checking the recipient's email address for typos or unnecessary spaces. Learn more by visiting our help.";
37  
38  	public static final String DEFAULT_HEADER = "We were permanently unable to deliver your message to the following recipients.  Please contact your system administrator with further questions.";
39  	
40  	public static final String DEFAULT_FOOTER = "";
41  	
42  	
43  	public static final String DSN_FAILED_PREFIX = "DeliveryFailureMessageDSNPrefix";
44  	
45  	public static final String DSN_MTA_NAME = "DeliveryFailureMessageDSNMTAName";
46  	
47  	public static final String DSN_POSTMASTER = "DeliveryFailureMessageDSNPostmaster";
48  	
49  	public static final String DSN_FAILED_RECIP_TITLE = "DeliveryFailureMessageDSNFailedRecipTitle";
50  	
51  	public static final String DSN_FAILED_ERROR_MESSAGE = "DeliveryFailureMessageDSNErrorMessage";
52  	
53  	public static final String DSN_FAILED_HEADER = "DeliveryFailureMessageDSNHeader";
54  	
55  	public static final String DSN_FAILED_FOOTER = "DeliveryFailureMessageDSNFooter";
56  }