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 <required>true
</required>
91 <comment>Is this the primary email address
</comment>
98 <name>index_is_primary
</name>
99 <fieldName>is_primary
</fieldName>
103 <name>is_billing
</name>
104 <title>Is Billing Email?
</title>
107 <required>true
</required>
108 <comment>Is this the billing?
</comment>
112 <name>index_is_billing
</name>
113 <fieldName>is_billing
</fieldName>
118 <title>On Hold
</title>
119 <export>true
</export>
120 <type>int unsigned
</type>
122 <required>true
</required>
123 <comment>Implicit FK to civicrm_option_value where option_group = email_on_hold.
</comment>
125 <callback>CRM_Core_PseudoConstant::emailOnHoldOptions
</callback>
133 <name>is_bulkmail
</name>
134 <title>Use for Bulk Mail
</title>
135 <export>true
</export>
138 <required>true
</required>
139 <comment>Is this address for bulk mail ?
</comment>
143 <name>hold_date
</name>
144 <type>datetime
</type>
145 <comment>When the address went on bounce hold
</comment>
147 <label>Hold Date
</label>
148 <type>Select Date
</type>
149 <formatType>activityDateTime
</formatType>
154 <name>reset_date
</name>
155 <type>datetime
</type>
156 <comment>When the address bounce status was last reset
</comment>
158 <label>Reset Date
</label>
159 <type>Select Date
</type>
160 <formatType>activityDateTime
</formatType>
165 <name>signature_text
</name>
167 <import>true
</import>
168 <default>NULL
</default>
169 <comment>Text formatted signature for the email.
</comment>
171 <label>Signature Text
</label>
176 <name>signature_html
</name>
178 <import>true
</import>
179 <default>NULL
</default>
180 <comment>HTML formatted signature for the email.
</comment>
182 <label>Signature HTML
</label>