com.silverpeas.util
Class MailUtil
java.lang.Object
com.silverpeas.util.MailUtil
public class MailUtil
- extends Object
- Author:
- ehugonnet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SMTP_SERVER
public static final String SMTP_SERVER
- See Also:
- Constant Field Values
SMTP_AUTH
public static final String SMTP_AUTH
- See Also:
- Constant Field Values
SMTP_PORT
public static final String SMTP_PORT
- See Also:
- Constant Field Values
SMTP_LOGIN
public static final String SMTP_LOGIN
- See Also:
- Constant Field Values
SMTP_PASSWORD
public static final String SMTP_PASSWORD
- See Also:
- Constant Field Values
SMTP_DEBUG
public static final String SMTP_DEBUG
- See Also:
- Constant Field Values
SMTP_SECURE
public static final String SMTP_SECURE
- See Also:
- Constant Field Values
configuration
public static final ResourceLocator configuration
isForceReplyToSenderField
public static boolean isForceReplyToSenderField()
isDomainAuthorized
public static boolean isDomainAuthorized(String email)
getAuthorizedEmailAddress
public static javax.mail.internet.InternetAddress getAuthorizedEmailAddress(String pFrom,
String personalName)
throws javax.mail.internet.AddressException,
UnsupportedEncodingException
- Throws:
javax.mail.internet.AddressException
UnsupportedEncodingException
getAuthorizedEmail
public static String getAuthorizedEmail(String email)
getMailServer
public static String getMailServer()
isAuthenticated
public static boolean isAuthenticated()
isDebug
public static boolean isDebug()
getLogin
public static String getLogin()
getPassword
public static String getPassword()
getPort
public static int getPort()
isSecure
public static boolean isSecure()
Copyright © 2016 Silverpeas. All Rights Reserved.