public static enum EmailUtil.ConnectionSecurity extends java.lang.Enum<EmailUtil.ConnectionSecurity>
Enum Constant and Description |
---|
NONE
Rate limited by AWS
|
SSL_TLS
Preferred method of connecting
|
STARTTLS
Subject to Man In the Middle attacks
|
Modifier and Type | Method and Description |
---|---|
static EmailUtil.ConnectionSecurity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EmailUtil.ConnectionSecurity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmailUtil.ConnectionSecurity SSL_TLS
public static final EmailUtil.ConnectionSecurity STARTTLS
public static final EmailUtil.ConnectionSecurity NONE
public static EmailUtil.ConnectionSecurity[] values()
for (EmailUtil.ConnectionSecurity c : EmailUtil.ConnectionSecurity.values()) System.out.println(c);
public static EmailUtil.ConnectionSecurity valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.