]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - metadata/outboundEmailMetaData.php
Release 6.5.0
[Github/sugarcrm.git] / metadata / outboundEmailMetaData.php
1 <?php
2 if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
3 /*********************************************************************************
4  * SugarCRM Community Edition is a customer relationship management program developed by
5  * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
6  * 
7  * This program is free software; you can redistribute it and/or modify it under
8  * the terms of the GNU Affero General Public License version 3 as published by the
9  * Free Software Foundation with the addition of the following permission added
10  * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
11  * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
12  * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
13  * 
14  * This program is distributed in the hope that it will be useful, but WITHOUT
15  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16  * FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
17  * details.
18  * 
19  * You should have received a copy of the GNU Affero General Public License along with
20  * this program; if not, see http://www.gnu.org/licenses or write to the Free
21  * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
22  * 02110-1301 USA.
23  * 
24  * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
25  * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
26  * 
27  * The interactive user interfaces in modified source and object code versions
28  * of this program must display Appropriate Legal Notices, as required under
29  * Section 5 of the GNU Affero General Public License version 3.
30  * 
31  * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
32  * these Appropriate Legal Notices must retain the display of the "Powered by
33  * SugarCRM" logo. If the display of the logo is not reasonably feasible for
34  * technical reasons, the Appropriate Legal Notices must display the words
35  * "Powered by SugarCRM".
36  ********************************************************************************/
37
38 /*********************************************************************************
39
40  * Description:
41  * Portions created by SugarCRM are Copyright (C) SugarCRM, Inc. All Rights
42  * Reserved. Contributor(s): ______________________________________..
43  *********************************************************************************/
44
45 $dictionary['OutboundEmail'] = array ('table' => 'outbound_email',
46         'fields' => array (
47                 'id' => array (
48                         'name' => 'id',
49                         'vname' => 'LBL_ID',
50                         'type' => 'id',
51                         'required' => true,
52                         'reportable' => false,
53                 ),
54                 'name' => array (
55                         'name' => 'name',
56                         'vname' => 'LBL_NAME',
57                         'type' => 'varchar',
58                         'len' => 50,
59                         'required' => true,
60                         'reportable' => false,
61                 ),
62                 'type' => array (
63                         'name' => 'type',
64                         'vname' => 'LBL_TYPE',
65                         'type' => 'varchar',
66                         'len' => 15,
67                         'required' => true,
68                         'default' => 'user',
69                         'reportable' => false,
70                 ),
71                 'user_id' => array (
72                         'name' => 'user_id',
73                         'vname' => 'LBL_USER_ID',
74                         'type' => 'id',
75                         'required' => true,
76                         'reportable' => false,
77                 ),
78                 'mail_sendtype' => array(
79                         'name' => 'mail_sendtype',
80                         'vname' => 'LBL_MAIL_SENDTYPE',
81                         'type' => 'varchar',
82                         'len' => 8,
83                         'required' => true,
84                         'default' => 'smtp',
85                         'reportable' => false,
86                 ),
87                 'mail_smtptype' => array(
88                         'name' => 'mail_smtptype',
89                         'vname' => 'LBL_MAIL_SENDTYPE',
90                         'type' => 'varchar',
91                         'len' => 20,
92                         'required' => true,
93                         'default' => 'other',
94                         'reportable' => false,
95                 ),
96                 'mail_smtpserver' => array(
97                         'name' => 'mail_smtpserver',
98                         'vname' => 'LBL_MAIL_SMTPSERVER',
99                         'type' => 'varchar',
100                         'len' => 100,
101                         'required' => false,
102                         'reportable' => false,
103                 ),
104                 'mail_smtpport' => array(
105                         'name' => 'mail_smtpport',
106                         'vname' => 'LBL_MAIL_SMTPPORT',
107                         'type' => 'int',
108                         'len' => 5,
109                         'default' => 0,
110                         'reportable' => false,
111                 ),
112                 'mail_smtpuser' => array(
113                         'name' => 'mail_smtpuser',
114                         'vname' => 'LBL_MAIL_SMTPUSER',
115                         'type' => 'varchar',
116                         'len' => 100,
117                         'reportable' => false,
118                 ),
119                 'mail_smtppass' => array(
120                         'name' => 'mail_smtppass',
121                         'vname' => 'LBL_MAIL_SMTPPASS',
122                         'type' => 'varchar',
123                         'len' => 100,
124                         'reportable' => false,
125                 ),
126                 'mail_smtpauth_req' => array(
127                         'name' => 'mail_smtpauth_req',
128                         'vname' => 'LBL_MAIL_SMTPAUTH_REQ',
129                         'type' => 'bool',
130                         'default' => 0,
131                         'reportable' => false,
132                 ),
133                 'mail_smtpssl' => array(
134                         'name' => 'mail_smtpssl',
135                         'vname' => 'LBL_MAIL_SMTPSSL',
136                         'type' => 'int',
137                         'len' => 1,
138                         'default' => 0,
139                         'reportable' => false,
140                 ),
141         ),
142         'indices' => array (
143                 array(
144                         'name' => 'outbound_email_pk',
145                         'type' =>'primary',
146                         'fields' => array(
147                                 'id'
148                         )
149                 ),
150                 array(
151                         'name' => 'oe_user_id_idx',
152                         'type' =>'index',
153                         'fields' => array(
154                                 'id',
155                                 'user_id',
156                         )
157                 ),
158         ), /* end indices */
159 );
160