1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
6 <name>civicrm_email
</name>
7 <comment>Email information for a specific location.
</comment>
12 <type>int unsigned
</type>
13 <required>true
</required>
14 <comment>Unique Email ID
</comment>
19 <autoincrement>true
</autoincrement>
22 <name>contact_id
</name>
23 <type>int unsigned
</type>
24 <comment>FK to Contact ID
</comment>
28 <name>contact_id
</name>
29 <table>civicrm_contact
</table>
32 <onDelete>CASCADE
</onDelete>
35 <name>location_type_id
</name>
36 <title>Email Location Type
</title>
37 <type>int unsigned
</type>
38 <comment>Which Location does this email belong to.
</comment>
41 <table>civicrm_location_type
</table>
42 <keyColumn>id
</keyColumn>
43 <labelColumn>name
</labelColumn>
47 <name>index_location_type
</name>
48 <fieldName>location_type_id
</fieldName>
57 <headerPattern>/e.?mail/i
</headerPattern>
58 <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>
60 <comment>Email address
</comment>
65 <fieldName>email
</fieldName>
69 <name>is_primary
</name>
72 <comment>Is this the primary email for this contact and location.
</comment>
76 <name>is_primary
</name>
79 <comment>Is this the primary?
</comment>
83 <name>index_is_primary
</name>
84 <fieldName>is_primary
</fieldName>
88 <name>is_billing
</name>
91 <comment>Is this the billing?
</comment>
95 <name>index_is_billing
</name>
96 <fieldName>is_billing
</fieldName>
101 <export>true
</export>
104 <required>true
</required>
105 <comment>Is this address on bounce hold?
</comment>
109 <name>is_bulkmail
</name>
110 <title>Use for Bulk Mail
</title>
111 <export>true
</export>
114 <required>true
</required>
115 <comment>Is this address for bulk mail ?
</comment>
119 <name>hold_date
</name>
120 <type>datetime
</type>
121 <comment>When the address went on bounce hold
</comment>
125 <name>reset_date
</name>
126 <type>datetime
</type>
127 <comment>When the address bounce status was last reset
</comment>
131 <name>signature_text
</name>
133 <import>true
</import>
134 <default>NULL
</default>
135 <comment>Text formatted signature for the email.
</comment>
139 <name>signature_html
</name>
141 <import>true
</import>
142 <default>NULL
</default>
143 <comment>HTML formatted signature for the email.
</comment>