Merge pull request #4027 from magnolia61/(CRM-15223)-Include-gender-and-age-in-(const...
[civicrm-core.git] / xml / schema / Core / MailSettings.xml
CommitLineData
6a488035
TO
1<table>
2 <base>CRM/Core</base>
3 <class>MailSettings</class>
4 <name>civicrm_mail_settings</name>
5 <comment>Various email accounts for use by CiviMail (and its processor)</comment>
6 <add>2.2</add>
7 <field>
8 <name>id</name>
45afd2ea 9 <title>Mail Settings ID</title>
6a488035
TO
10 <type>int unsigned</type>
11 <required>true</required>
12 <comment>primary key</comment>
13 <add>2.2</add>
14 </field>
15 <primaryKey>
16 <name>id</name>
17 <autoincrement>true</autoincrement>
18 </primaryKey>
19 <field>
4cc2ccac 20 <name>domain_id</name>
45afd2ea 21 <title>Mail Settings Domain</title>
4cc2ccac
EM
22 <type>int unsigned</type>
23 <required>true</required>
24 <pseudoconstant>
25 <table>civicrm_domain</table>
26 <keyColumn>id</keyColumn>
27 <labelColumn>name</labelColumn>
28 </pseudoconstant>
29 <comment>Which Domain is this match entry for</comment>
30 <add>3.1</add>
6a488035 31 </field>
41876fd8 32 <foreignKey>
4cc2ccac
EM
33 <name>domain_id</name>
34 <table>civicrm_domain</table>
35 <key>id</key>
36 <add>4.5</add>
41876fd8 37 </foreignKey>
6a488035
TO
38 <field>
39 <name>name</name>
45afd2ea 40 <title>Mail Settings Name</title>
6a488035
TO
41 <type>varchar</type>
42 <length>255</length>
43 <comment>name of this group of settings</comment>
44 <add>2.2</add>
45 </field>
46 <field>
47 <name>is_default</name>
45afd2ea 48 <title>Is Default Mail Settings?</title>
6a488035
TO
49 <type>boolean</type>
50 <comment>whether this is the default set of settings for this domain</comment>
51 <add>2.2</add>
52 </field>
53 <field>
54 <name>domain</name>
45afd2ea 55 <title>email Domain</title>
6a488035
TO
56 <type>varchar</type>
57 <length>255</length>
58 <comment>email address domain (the part after @)</comment>
59 <add>2.2</add>
60 </field>
61 <field>
62 <name>localpart</name>
45afd2ea 63 <title>email Local Part</title>
6a488035
TO
64 <type>varchar</type>
65 <length>255</length>
66 <comment>optional local part (like civimail+ for addresses like civimail+s.1.2@example.com)</comment>
67 <add>2.2</add>
68 </field>
69 <field>
70 <name>return_path</name>
45afd2ea 71 <title>Return Path</title>
6a488035
TO
72 <type>varchar</type>
73 <length>255</length>
74 <comment>contents of the Return-Path header</comment>
75 <add>2.2</add>
76 </field>
77 <field>
78 <name>protocol</name>
45afd2ea 79 <title>Protocol</title>
6a488035
TO
80 <type>varchar</type>
81 <length>255</length>
82 <comment>name of the protocol to use for polling (like IMAP, POP3 or Maildir)</comment>
83 <add>2.2</add>
cbf48754
AS
84 <pseudoconstant>
85 <optionGroupName>mail_protocol</optionGroupName>
86 </pseudoconstant>
614d72ec 87 <html>
e0991796 88 <type>Select</type>
614d72ec 89 </html>
6a488035
TO
90 </field>
91 <field>
92 <name>server</name>
45afd2ea 93 <title>Mail Server</title>
6a488035
TO
94 <type>varchar</type>
95 <length>255</length>
96 <comment>server to use when polling</comment>
97 <add>2.2</add>
98 </field>
99 <field>
100 <name>port</name>
45afd2ea 101 <title>Mail Port</title>
6a488035
TO
102 <type>int unsigned</type>
103 <comment>port to use when polling</comment>
104 <add>2.2</add>
105 </field>
106 <field>
107 <name>username</name>
45afd2ea 108 <title>Mail Account Username</title>
6a488035
TO
109 <type>varchar</type>
110 <length>255</length>
111 <comment>username to use when polling</comment>
112 <add>2.2</add>
113 </field>
114 <field>
115 <name>password</name>
45afd2ea 116 <title>Mail Account Password</title>
6a488035
TO
117 <type>varchar</type>
118 <length>255</length>
119 <comment>password to use when polling</comment>
120 <add>2.2</add>
121 </field>
122 <field>
123 <name>is_ssl</name>
45afd2ea 124 <title>Mail Account Uses SSL</title>
6a488035
TO
125 <type>boolean</type>
126 <comment>whether to use SSL or not</comment>
127 <add>2.2</add>
128 </field>
129 <field>
130 <name>source</name>
45afd2ea 131 <title>Mail Folder</title>
6a488035
TO
132 <type>varchar</type>
133 <length>255</length>
134 <comment>folder to poll from when using IMAP, path to poll from when using Maildir, etc.</comment>
135 <add>2.2</add>
136 </field>
137</table>