2008-11-26 22:50:40 +00:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
|
|
|
<construct>
|
2009-08-03 04:10:16 +00:00
|
|
|
<!-- Module name -->
|
|
|
|
<module>setup_email</module>
|
|
|
|
<!-- Module supporting database table -->
|
|
|
|
<table>setup_email</table>
|
|
|
|
<!-- Module dependancy(s) (module wont install if these modules are not yet installed) -->
|
|
|
|
<dependancy></dependancy>
|
|
|
|
<!-- DB cache in seconds -->
|
|
|
|
<cache>0</cache>
|
|
|
|
<!-- Default order_by field for SQL queries -->
|
|
|
|
<order_by>name</order_by>
|
|
|
|
<!-- Default SQL limit for SQL queries -->
|
|
|
|
<limit>25</limit>
|
|
|
|
<!-- Schema version (used to determine if the schema has change during upgrades) -->
|
|
|
|
<version>1</version>
|
|
|
|
|
|
|
|
<!-- Database indexes -->
|
|
|
|
<index>
|
|
|
|
</index>
|
|
|
|
|
|
|
|
<!-- Database fields -->
|
|
|
|
<field>
|
|
|
|
<!-- Record ID -->
|
|
|
|
<id>
|
|
|
|
<index>1</index>
|
|
|
|
<type>I4</type>
|
|
|
|
<unique>1</unique>
|
|
|
|
</id>
|
|
|
|
<!-- Site ID -->
|
|
|
|
<site_id>
|
|
|
|
<index>1</index>
|
|
|
|
<type>I4</type>
|
|
|
|
</site_id>
|
|
|
|
<account_id>
|
|
|
|
<type>I8</type>
|
|
|
|
</account_id>
|
|
|
|
<name>
|
|
|
|
<display>Name</display>
|
|
|
|
<min_len>1</min_len>
|
|
|
|
<max_len>128</max_len>
|
|
|
|
<type>C(128)</type>
|
|
|
|
<validate>any</validate>
|
|
|
|
</name>
|
|
|
|
<notes>
|
|
|
|
<display>Notes</display>
|
|
|
|
<type>X2</type>
|
|
|
|
</notes>
|
|
|
|
<type>
|
|
|
|
<display>SMTP Account</display>
|
|
|
|
<type>L</type>
|
|
|
|
</type>
|
|
|
|
<from_name>
|
|
|
|
<display>From Name</display>
|
|
|
|
<type>C(128)</type>
|
|
|
|
<min_len>1</min_len>
|
|
|
|
<max_len>128</max_len>
|
|
|
|
<validate>any</validate>
|
|
|
|
</from_name>
|
|
|
|
<from_email>
|
|
|
|
<display>From Email</display>
|
|
|
|
<type>C(128)</type>
|
|
|
|
<min_len>1</min_len>
|
|
|
|
<max_len>128</max_len>
|
|
|
|
<validate>any</validate>
|
|
|
|
</from_email>
|
|
|
|
<cc_list>
|
|
|
|
<display>CC List</display>
|
|
|
|
<type>X2</type>
|
|
|
|
</cc_list>
|
|
|
|
<bcc_list>
|
|
|
|
<display>BCC List</display>
|
|
|
|
<type>X2</type>
|
|
|
|
</bcc_list>
|
|
|
|
<server>
|
|
|
|
<display>Server</display>
|
|
|
|
<description>required only for SMTP - smtp.srv1.com;mail.srv2.com</description>
|
|
|
|
<type>C(128)</type>
|
|
|
|
</server>
|
|
|
|
<username>
|
|
|
|
<display>Username</display>
|
|
|
|
<description>required only for SMTP</description>
|
|
|
|
<type>C(128)</type>
|
|
|
|
</username>
|
|
|
|
<password>
|
|
|
|
<display>Password</display>
|
|
|
|
<description>required only for SMTP</description>
|
|
|
|
<type>C(128)</type>
|
|
|
|
</password>
|
|
|
|
<piping>
|
|
|
|
<display>Message Retrieval Method</display>
|
|
|
|
<type>C(4)</type>
|
|
|
|
</piping>
|
|
|
|
<piping_host>
|
|
|
|
<display>Host for Message Retrieval</display>
|
|
|
|
<type>C(128)</type>
|
|
|
|
</piping_host>
|
|
|
|
<piping_username>
|
|
|
|
<display>Username</display>
|
|
|
|
<type>C(128)</type>
|
|
|
|
</piping_username>
|
|
|
|
<piping_password>
|
|
|
|
<display>Password</display>
|
|
|
|
<type>C(128)</type>
|
|
|
|
</piping_password>
|
|
|
|
<piping_action>
|
|
|
|
<display>Action after Message Retrieval</display>
|
|
|
|
<type>C(4)</type>
|
|
|
|
</piping_action>
|
|
|
|
<queue>
|
|
|
|
<display>Queue E-mails</display>
|
|
|
|
<type>L</type>
|
|
|
|
</queue>
|
|
|
|
</field>
|
|
|
|
|
|
|
|
<!-- Methods for this class, and the fields they have access to, if applicable -->
|
|
|
|
<method>
|
|
|
|
<add>id,site_id,account_id,name,notes,type,from_name,from_email,cc_list,bcc_list,server,username,password,piping,piping_host,piping_username,piping_password,piping_action,queue</add>
|
|
|
|
<update>id,site_id,account_id,name,notes,type,from_name,from_email,cc_list,bcc_list,server,username,password,piping,piping_host,piping_username,piping_password,piping_action,queue</update>
|
|
|
|
<delete>id,site_id,account_id,name,notes,type,from_name,from_email,cc_list,bcc_list,server,username,password,piping,piping_host,piping_username,piping_password,piping_action,queue</delete>
|
|
|
|
<view>id,site_id,account_id,name,notes,type,from_name,from_email,cc_list,bcc_list,server,username,password,piping,piping_host,piping_username,piping_password,piping_action,queue</view>
|
|
|
|
<search>id,site_id,account_id,name,notes,type,from_name,from_email,cc_list,bcc_list,server,username,password,piping,piping_host,piping_username,piping_password,piping_action,queue</search>
|
|
|
|
</method>
|
|
|
|
|
|
|
|
<!-- Method triggers -->
|
|
|
|
<trigger></trigger>
|
|
|
|
|
|
|
|
<!-- Template page display titles -->
|
|
|
|
<title>
|
|
|
|
</title>
|
|
|
|
|
|
|
|
<!-- Template helpers -->
|
|
|
|
<tpl>
|
|
|
|
<search_show>
|
|
|
|
<checkbox>
|
|
|
|
<field>id</field>
|
|
|
|
<type>checkbox</type>
|
|
|
|
<width>25px</width>
|
|
|
|
</checkbox>
|
|
|
|
<name>
|
|
|
|
<field>name</field>
|
|
|
|
</name>
|
|
|
|
<type>
|
|
|
|
<field>type</field>
|
|
|
|
</type>
|
|
|
|
<from_name>
|
|
|
|
<field>from_name</field>
|
|
|
|
</from_name>
|
|
|
|
<from_email>
|
|
|
|
<field>from_email</field>
|
|
|
|
</from_email>
|
|
|
|
</search_show>
|
|
|
|
</tpl>
|
2008-11-26 22:50:40 +00:00
|
|
|
</construct>
|