1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
6 <name>civicrm_email
</name>
7 <comment>Email information for a specific location.
</comment>
12 <title>Email ID
</title>
13 <type>int unsigned
</type>
14 <required>true
</required>
15 <comment>Unique Email ID
</comment>
20 <autoincrement>true
</autoincrement>
23 <name>contact_id
</name>
24 <title>Email Contact
</title>
25 <type>int unsigned
</type>
26 <comment>FK to Contact ID
</comment>
30 <name>contact_id
</name>
31 <table>civicrm_contact
</table>
34 <onDelete>CASCADE
</onDelete>
37 <name>location_type_id
</name>
38 <title>Email Location Type
</title>
39 <type>int unsigned
</type>
40 <comment>Which Location does this email belong to.
</comment>
43 <table>civicrm_location_type
</table>
44 <keyColumn>id
</keyColumn>
45 <labelColumn>display_name
</labelColumn>
52 <name>index_location_type
</name>
53 <fieldName>location_type_id
</fieldName>
66 <headerPattern>/e.?mail/i
</headerPattern>
67 <dataPattern>/^[a-zA-Z][\w\.-]*[a-zA-Z0-
9]@[a-zA-Z0-
9][\w\.-]*[a-zA-Z0-
9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$/
</dataPattern>
69 <comment>Email address
</comment>
74 <fieldName>email
</fieldName>
78 <name>is_primary
</name>
81 <comment>Is this the primary email for this contact and location.
</comment>
85 <name>is_primary
</name>
86 <title>Is Primary email
</title>
89 <comment>Is this the primary?
</comment>
93 <name>index_is_primary
</name>
94 <fieldName>is_primary
</fieldName>
98 <name>is_billing
</name>
99 <title>Is Billing Email?
</title>
102 <comment>Is this the billing?
</comment>
106 <name>index_is_billing
</name>
107 <fieldName>is_billing
</fieldName>
112 <export>true
</export>
115 <required>true
</required>
116 <comment>Is this address on bounce hold?
</comment>
119 <type>CheckBox
</type>
123 <name>is_bulkmail
</name>
124 <title>Use for Bulk Mail
</title>
125 <export>true
</export>
128 <required>true
</required>
129 <comment>Is this address for bulk mail ?
</comment>
133 <name>hold_date
</name>
134 <type>datetime
</type>
135 <comment>When the address went on bounce hold
</comment>
139 <name>reset_date
</name>
140 <type>datetime
</type>
141 <comment>When the address bounce status was last reset
</comment>
145 <name>signature_text
</name>
147 <import>true
</import>
148 <default>NULL
</default>
149 <comment>Text formatted signature for the email.
</comment>
153 <name>signature_html
</name>
155 <import>true
</import>
156 <default>NULL
</default>
157 <comment>HTML formatted signature for the email.
</comment>