source: ISOcat/trunk/mod-ISOcat-access-system/config/email.acc @ 2029

Last change on this file since 2029 was 2029, checked in by mwindhouwer, 12 years ago

Initial import of all the *cats, i.e., ISOcat, RELcat and SCHEMAcat.

File size: 1019 bytes
Line 
1<accessor>
2        <name>ISOcat.access.system.config.database</name>
3        <descr>Get the ISOcat database settings.</descr>
4        <params/>
5        <idoc>
6                <instr>
7                    <type>xslt2</type>
8                    <operand>ffcpl:/etc/ISOcatConfig.xml</operand>
9                    <operator>
10                        <xsl:stylesheet
11                            xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
12                            version="2.0"
13                        >
14                                <xsl:template match="/config">
15                                        <SMTPConfig>
16                                                <SMTPGateway>
17                                                        <xsl:value-of select="email/server"/>
18                                                </SMTPGateway>
19                                                <SMTPUser>
20                                                        <xsl:value-of select="normalize-space(email/user)"/>
21                                                </SMTPUser>
22                                                <SMTPPassword>
23                                                        <xsl:value-of select="normalize-space(email/password)"/>
24                                                </SMTPPassword>
25                                                <SMTPPort>25</SMTPPort>
26                                                <sender>
27                                                        <xsl:value-of select="normalize-space(admin/email)"/>
28                                                </sender>
29                                                <pollInterval>10000</pollInterval>
30                                                <maxRetrys>3</maxRetrys>
31                                        </SMTPConfig>
32                                </xsl:template>
33                        </xsl:stylesheet>
34                    </operator>
35                    <target>this:response</target>
36                </instr>
37        </idoc>
38</accessor>
Note: See TracBrowser for help on using the repository browser.