
com.globalmentor.mail.Mail Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of globalmentor-mail Show documentation
Show all versions of globalmentor-mail Show documentation
GlobalMentor Java mail library.
The newest version!
/*
* Copyright © 1996-2008 GlobalMentor, Inc.
*
* 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.
*/
package com.globalmentor.mail;
import com.globalmentor.util.StringTemplate;
/**
* Constant values for mail.
* @author Garret Wilson
*/
public class Mail {
/** The property that contains whether mail debug is turned on. */
public static final String MAIL_DEBUG_PROPERTY = "mail.debug";
/** The property that contains the mail from address. */
public static final String MAIL_FROM_PROPERTY = "mail.from";
/** The property that contains the mail host name. */
public static final String MAIL_HOST_PROPERTY = "mail.host";
/** The template for "mail-protocol.auth". */
public static final StringTemplate MAIL_PROTOCOL_AUTH_PROPERTY_TEMPLATE = new StringTemplate("mail.", StringTemplate.STRING_PARAMETER, ".auth");
/** The template for "mail-protocol.host". */
public static final StringTemplate MAIL_PROTOCOL_HOST_PROPERTY_TEMPLATE = new StringTemplate("mail.", StringTemplate.STRING_PARAMETER, ".host");
/** The template for "mail-protocol.password". */
public static final StringTemplate MAIL_PROTOCOL_PASSWORD_PROPERTY_TEMPLATE = new StringTemplate("mail.", StringTemplate.STRING_PARAMETER, ".password");
/** The template for "mail-protocol.port". */
public static final StringTemplate MAIL_PROTOCOL_PORT_PROPERTY_TEMPLATE = new StringTemplate("mail.", StringTemplate.STRING_PARAMETER, ".port");
/** The template for "mail-protocol.user". */
public static final StringTemplate MAIL_PROTOCOL_USER_PROPERTY_TEMPLATE = new StringTemplate("mail.", StringTemplate.STRING_PARAMETER, ".user");
/** The property that specifies the protocol for mail transport. */
public static final String MAIL_TRANSPORT_PROTOCOL_PROPERTY = "mail.transport.protocol";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy