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 <title>On Hold
</title>
113 <export>true
</export>
114 <type>int unsigned
</type>
116 <required>true
</required>
117 <comment>Implicit FK to civicrm_option_value where option_group = email_on_hold.
</comment>
119 <callback>CRM_Core_PseudoConstant::emailOnHoldOptions
</callback>
127 <name>is_bulkmail
</name>
128 <title>Use for Bulk Mail
</title>
129 <export>true
</export>
132 <required>true
</required>
133 <comment>Is this address for bulk mail ?
</comment>
137 <name>hold_date
</name>
138 <type>datetime
</type>
139 <comment>When the address went on bounce hold
</comment>
143 <name>reset_date
</name>
144 <type>datetime
</type>
145 <comment>When the address bounce status was last reset
</comment>
149 <name>signature_text
</name>
151 <import>true
</import>
152 <default>NULL
</default>
153 <comment>Text formatted signature for the email.
</comment>
157 <name>signature_html
</name>
159 <import>true
</import>
160 <default>NULL
</default>
161 <comment>HTML formatted signature for the email.
</comment>