1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
6 <name>civicrm_email
</name>
7 <comment>Email information for a specific location.
</comment>
10 <icon>fa-envelope-o
</icon>
11 <labelField>email
</labelField>
14 <title>Email ID
</title>
15 <type>int unsigned
</type>
16 <required>true
</required>
17 <comment>Unique Email ID
</comment>
25 <autoincrement>true
</autoincrement>
28 <name>contact_id
</name>
29 <title>Contact ID
</title>
30 <type>int unsigned
</type>
31 <comment>FK to Contact ID
</comment>
33 <label>Contact
</label>
38 <name>contact_id
</name>
39 <table>civicrm_contact
</table>
42 <onDelete>CASCADE
</onDelete>
45 <name>location_type_id
</name>
46 <title>Email Location Type
</title>
47 <type>int unsigned
</type>
48 <comment>Which Location does this email belong to.
</comment>
51 <table>civicrm_location_type
</table>
52 <keyColumn>id
</keyColumn>
53 <labelColumn>display_name
</labelColumn>
60 <name>index_location_type
</name>
61 <fieldName>location_type_id
</fieldName>
74 <headerPattern>/e.?mail/i
</headerPattern>
75 <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>
77 <comment>Email address
</comment>
82 <fieldName>email
</fieldName>
86 <name>is_primary
</name>
87 <title>Primary email
</title>
90 <comment>Is this the primary email address
</comment>
97 <name>index_is_primary
</name>
98 <fieldName>is_primary
</fieldName>
102 <name>is_billing
</name>
103 <title>Is Billing Email?
</title>
106 <comment>Is this the billing?
</comment>
110 <name>index_is_billing
</name>
111 <fieldName>is_billing
</fieldName>
116 <title>On Hold
</title>
117 <export>true
</export>
118 <type>int unsigned
</type>
120 <required>true
</required>
121 <comment>Implicit FK to civicrm_option_value where option_group = email_on_hold.
</comment>
123 <callback>CRM_Core_PseudoConstant::emailOnHoldOptions
</callback>
131 <name>is_bulkmail
</name>
132 <title>Use for Bulk Mail
</title>
133 <export>true
</export>
136 <required>true
</required>
137 <comment>Is this address for bulk mail ?
</comment>
141 <name>hold_date
</name>
142 <type>datetime
</type>
143 <comment>When the address went on bounce hold
</comment>
145 <label>Hold Date
</label>
150 <name>reset_date
</name>
151 <type>datetime
</type>
152 <comment>When the address bounce status was last reset
</comment>
154 <label>Reset Date
</label>
159 <name>signature_text
</name>
161 <import>true
</import>
162 <default>NULL
</default>
163 <comment>Text formatted signature for the email.
</comment>
165 <label>Signature Text
</label>
170 <name>signature_html
</name>
172 <import>true
</import>
173 <default>NULL
</default>
174 <comment>HTML formatted signature for the email.
</comment>
176 <label>Signature HTML
</label>