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>display_name
</labelColumn>
50 <name>index_location_type
</name>
51 <fieldName>location_type_id
</fieldName>
63 <headerPattern>/e.?mail/i
</headerPattern>
64 <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>
66 <comment>Email address
</comment>
71 <fieldName>email
</fieldName>
75 <name>is_primary
</name>
78 <comment>Is this the primary email for this contact and location.
</comment>
82 <name>is_primary
</name>
85 <comment>Is this the primary?
</comment>
89 <name>index_is_primary
</name>
90 <fieldName>is_primary
</fieldName>
94 <name>is_billing
</name>
97 <comment>Is this the billing?
</comment>
101 <name>index_is_billing
</name>
102 <fieldName>is_billing
</fieldName>
107 <export>true
</export>
110 <required>true
</required>
111 <comment>Is this address on bounce hold?
</comment>
115 <name>is_bulkmail
</name>
116 <title>Use for Bulk Mail
</title>
117 <export>true
</export>
120 <required>true
</required>
121 <comment>Is this address for bulk mail ?
</comment>
125 <name>hold_date
</name>
126 <type>datetime
</type>
127 <comment>When the address went on bounce hold
</comment>
131 <name>reset_date
</name>
132 <type>datetime
</type>
133 <comment>When the address bounce status was last reset
</comment>
137 <name>signature_text
</name>
139 <import>true
</import>
140 <default>NULL
</default>
141 <comment>Text formatted signature for the email.
</comment>
145 <name>signature_html
</name>
147 <import>true
</import>
148 <default>NULL
</default>
149 <comment>HTML formatted signature for the email.
</comment>