KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > info > magnolia > cms > mail > MailConstants


1 package info.magnolia.cms.mail;
2
3 /**
4  * Date: Mar 30, 2006 Time: 1:19:45 PM
5  * @author <a HREF="mailto:niko@macnica.com">Nicolas Modrzyk</a>
6  */

7 public interface MailConstants {
8
9     public static final String JavaDoc MAIL_TEMPLATE_HTML = "html";
10
11     public static final String JavaDoc MAIL_TEMPLATE_VELOCITY = "velocity";
12
13     public static final String JavaDoc MAIL_TEMPLATE_TEXT = "text";
14
15     public static final String JavaDoc MAIL_TEMPLATE_FREEMARKER = "freemarker";
16
17     public static final String JavaDoc MAIL_TEMPLATE_MAGNOLIA = "magnolia";
18
19     public static final String JavaDoc WORKFLOW_EMAIL_TEMPLATE = "workflowEmail";
20
21     public static final String JavaDoc WORKFLOW_EMAIL_FROM_FIELD = "workflow@magnolia.info";
22
23     public static final String JavaDoc WORKFLOW_EMAIL_SUBJECT_FIELD = "Workflow Request";
24
25     public static final String JavaDoc PREFIX_USER = "user-";
26
27     public static final String JavaDoc PREFIX_GROUP = "group-";
28
29     public static final String JavaDoc PREFIX_ROLE = "role-";
30
31     public static final String JavaDoc ATTRIBUTE_CC = "cc";
32
33     public static final String JavaDoc ATTRIBUTE_FROM = "from";
34
35     public static final String JavaDoc ATTRIBUTE_TYPE = "type";
36
37     public static final String JavaDoc ATTRIBUTE_SUBJECT = "subject";
38
39     public static final String JavaDoc ATTRIBUTE_TEXT = "text";
40
41     public static final String JavaDoc ATTRIBUTE_ATTACHMENT = "attachment";
42
43     public static final String JavaDoc ATTRIBUTE_TEMPLATE = "mailTemplate";
44
45     public static final String JavaDoc ATTRIBUTE_TO = "mailTo";
46 }
47
Popular Tags