01: /*
02: * $Id: MailProperties.java 10489 2008-01-23 17:53:38Z dfeist $
03: * --------------------------------------------------------------------------------------
04: * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
05: *
06: * The software in this package is published under the terms of the CPAL v1.0
07: * license, a copy of which has been included with this distribution in the
08: * LICENSE.txt file.
09: */
10:
11: package org.mule.transport.email;
12:
13: /**
14: * Mail properties that are sent on the DefaultMuleMessage when receiving a Mail Message or
15: * which can be set on the endpoint or event to be added to outgoing mail
16: */
17: public interface MailProperties {
18: /**
19: * MuleEvent properties
20: */
21: public static final String CONTENT_TYPE_PROPERTY = "contentType";
22: public static final String TO_ADDRESSES_PROPERTY = "toAddresses";
23: public static final String CC_ADDRESSES_PROPERTY = "ccAddresses";
24: public static final String BCC_ADDRESSES_PROPERTY = "bccAddresses";
25: public static final String FROM_ADDRESS_PROPERTY = "fromAddress";
26: public static final String REPLY_TO_ADDRESSES_PROPERTY = "replyToAddresses";
27: public static final String SUBJECT_PROPERTY = "subject";
28: public static final String CUSTOM_HEADERS_MAP_PROPERTY = "customHeaders";
29: public static final String SENT_DATE_PROPERTY = "sentDate";
30:
31: //these properties will be used to avoid conflict with the outbound SMTP properties
32: public static final String INBOUND_CONTENT_TYPE_PROPERTY = "inbound.contentType";
33: public static final String INBOUND_TO_ADDRESSES_PROPERTY = "inbound.toAddresses";
34: public static final String INBOUND_CC_ADDRESSES_PROPERTY = "inbound.ccAddresses";
35: public static final String INBOUND_BCC_ADDRESSES_PROPERTY = "inbound.bccAddresses";
36: public static final String INBOUND_FROM_ADDRESS_PROPERTY = "inbound.fromAddress";
37: public static final String INBOUND_REPLY_TO_ADDRESSES_PROPERTY = "inbound.replyToAddresses";
38: public static final String INBOUND_SUBJECT_PROPERTY = "inbound.subject";
39: public static final String INBOUND_CUSTOM_HEADERS_MAP_PROPERTY = "inbound.customHeaders";
40: public static final String INBOUND_SENT_DATE_PROPERTY = "inbound.sentDate";
41: }
|