<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one or more
  ~ contributor license agreements.  See the NOTICE file distributed with
  ~ this work for additional information regarding copyright ownership.
  ~ The ASF licenses this file to You 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.
  -->

<metatype:MetaData xmlns:metatype="http://www.osgi.org/xmlns/metatype/v1.0.0" localization="OSGI-INF/metatype/metatype">

    <OCD description="FileInstaller" name="org.apache.unomi.plugins.mail" id="org.apache.unomi.plugins.mail">

        <AD name="%mail.server.hostname.name" description="%mail.server.hostname.description" id="mail.server.hostname" required="true" type="String" default="smtp.gmail.com"/>
        <AD name="%mail.server.port.name" description="%mail.server.port.description" id="mail.server.port" required="true" type="Integer" default="425"/>
        <AD name="%mail.server.username.name" description="%mail.server.username.description" id="mail.server.username" required="true" type="String" default=""/>
        <AD name="%mail.server.password.name" description="%mail.server.password.description" id="mail.server.password" required="true" type="String" default=""/>
        <AD name="%mail.server.sslOnConnect.name" description="%mail.server.sslOnConnection.description" id="mail.server.sslOnConnect" required="false" type="Boolean" default="true"/>

    </OCD>

    <Designate pid="org.apache.unomi.plugins.mail">
        <Object ocdref="org.apache.unomi.plugins.mail"/>
    </Designate>

</metatype:MetaData>