⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 email.xreg

📁 jetspeed源代码
💻 XREG
字号:
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2004 The Apache Software Foundation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<registry>
    <portlet-entry name="Email" hidden="false" type="ref"
        parent="Velocity" application="false">
        <meta-info>
            <title>Email</title>
            <description>Send Email</description>
        </meta-info>
        <classname>org.apache.jetspeed.portal.portlets.VelocityPortlet</classname>
        <parameter name="template" value="email-form.vm" hidden="true"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="action" value="portlets.email.EmailPortlet"
            hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="hostname" value="localhost" hidden="false"
            cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <description>Mail server host (REQUIRED) </description>
            </meta-info>
        </parameter>
        <parameter name="protocol" value="pop3" hidden="false"
            cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <description>Mail server protocol. Supported protocol :
                    pop3 and IMAP. (REQUIRED) </description>
            </meta-info>
        </parameter>
        <parameter name="username" value="admin" hidden="false"
            cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <description>Mail user. If not specified, portlet will
                    get current jetspeed user</description>
            </meta-info>
        </parameter>
        <parameter name="password" value="jetspeed" hidden="false"
            cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <description>Mail password. If not specified, portlet
                    will get current jetspeed password</description>
            </meta-info>
        </parameter>
        <parameter name="email_address" value="admin@localhost"
            hidden="false" cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <description>Return email address. If not specified,
                    portlet will get current jetspeed email address</description>
            </meta-info>
        </parameter>
        <parameter name="smtp_port" value="" hidden="false"
            cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <description>The SMTP server port to connect to. If not
                    specified, defaults to 25</description>
            </meta-info>
        </parameter>
        <parameter name="smtp_auth" value="" hidden="false"
            cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <description>If true, attempt to authenticate the user
                    using the AUTH command. If not specified, defaults
                    to false.</description>
            </meta-info>
        </parameter>
        <parameter name="smtp_dsn_ret" value="" hidden="false"
            cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <description>The RET option to the MAIL command. Either
                    FULL or HDRS.</description>
            </meta-info>
        </parameter>
        <parameter name="smtp_user" value="" hidden="false"
            cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <description>user name for SMTP</description>
            </meta-info>
        </parameter>
        <parameter name="smtp_conn_timeout" value="" hidden="false"
            cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <description>Socket connection timeout value in
                    milliseconds. If not specified, default is infinite timeout.</description>
            </meta-info>
        </parameter>
        <parameter name="smtp_timeout" value="" hidden="false"
            cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <description>Socket I/O timeout value in milliseconds.
                    If not specified, default is infinite timeout.</description>
            </meta-info>
        </parameter>
        <parameter name="smtp_from" value="" hidden="false"
            cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <description>Email address to use for SMTP MAIL command.
                    This sets the envelope return address.</description>
            </meta-info>
        </parameter>
        <parameter name="smtp_localhost" value="" hidden="false"
            cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <description>Local host name.Should not normally need to
                    be set if your JDK and your name service are
                    configured properly. </description>
            </meta-info>
        </parameter>
        <parameter name="smtp_ehlo" value="" hidden="false"
            cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <description>                    If false, do not
                    attempt to sign on with the EHLO command.
                    Defaults to true. Normally failure of the EHLO
                    command will fallback                    to the HELO
                    command; this property exists only for servers
                    that don't fail EHLO properly or don't implement
                    EHLO properly.                              </description>
            </meta-info>
        </parameter>
        <parameter name="smtp_dsn_notify" value="" hidden="false"
            cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <description>The NOTIFY option to the RCPT command.
                    Either NEVER, or some combination of SUCCESS,
                    FAILURE, and DELAY (separated by commas).</description>
            </meta-info>
        </parameter>
        <parameter name="smtp_allow8bitmime" value="" hidden="false"
            cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <description>                  If set to true, and the
                    server supports the 8BITMIME extension,
                    text parts of messages that use the
                    "quoted-printable" or "base64"
                    encodings are converted to use "8bit" encoding if
                    they follow the RFC2045 rules for 8bit text.</description>
            </meta-info>
        </parameter>
        <parameter name="smtp_send_partial" value="" hidden="false"
            cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <description>                  If set to true, and a
                    message has some valid and some invalid addresses,
                    send the message anyway, reporting the partial
                    failure with a
                    SendFailedException. If set to false (the default),
                    the message is not sent to any of the recipients if
                    there is an invalid recipient address.                                  </description>
            </meta-info>
        </parameter>
        <parameter name="smtp_sasl_realm" value="" hidden="false"
            cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <description>The realm to use with DIGEST-MD5 authentication.</description>
            </meta-info>
        </parameter>
        <parameter name="smtp_quit_wait" value="" hidden="false"
            cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <description>                    If set to true, causes
                    the transport to wait for the response to the QUIT
                    command.                    If set to false (the
                    default), the QUIT command is sent and the
                    connection is immediately closed.
                    (NOTE: The default may change in the next release.)                                  </description>
            </meta-info>
        </parameter>
        <parameter name="imap_port" value="" hidden="false"
            cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <description>The IMAP server port to connect to. if not
                    specified, defaults to 143</description>
            </meta-info>
        </parameter>
        <parameter name="imap_partial_fetch" value="" hidden="false"
            cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <description>Controls whether the IMAP partial-fetch
                    capability should be used. if not specified,
                    defaults to true</description>
            </meta-info>
        </parameter>
        <parameter name="imap_fetch_size" value="" hidden="false"
            cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <description>Partial fetch size in bytes. if not
                    specified defaults to 16k</description>
            </meta-info>
        </parameter>
        <parameter name="imap_timeout" value="" hidden="false"
            cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <description>timeout value in milliseconds. If not
                    specified, defaults to infinite timeout</description>
            </meta-info>
        </parameter>
        <parameter name="imap_host" value="" hidden="false"
            cachedOnName="true" cachedOnValue="true">
            <meta-info>
                <description>IMAP host</description>
            </meta-info>
        </parameter>
        <media-type ref="html"/>
        <url cachedOnURL="true"/>
        <category group="Jetspeed">email</category>
    </portlet-entry>
</registry>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -