org.springframework.boot.autoconfigure.mail

Class MailProperties



  • @ConfigurationProperties(prefix="spring.mail")
    public class MailProperties
    extends Object
    Configuration properties for email support.
    Since:
    1.2.0
    Author:
    Oliver Gierke, Stephane Nicoll, EddĂș MelĂ©ndez
    • Constructor Detail

      • MailProperties

        public MailProperties()
    • Method Detail

      • getHost

        public String getHost()
      • setHost

        public void setHost(String host)
      • getPort

        public Integer getPort()
      • setPort

        public void setPort(Integer port)
      • getUsername

        public String getUsername()
      • setUsername

        public void setUsername(String username)
      • getPassword

        public String getPassword()
      • setPassword

        public void setPassword(String password)
      • getProtocol

        public String getProtocol()
      • setProtocol

        public void setProtocol(String protocol)
      • getDefaultEncoding

        public Charset getDefaultEncoding()
      • setDefaultEncoding

        public void setDefaultEncoding(Charset defaultEncoding)
      • setJndiName

        public void setJndiName(String jndiName)
      • getJndiName

        public String getJndiName()
      • isTestConnection

        public boolean isTestConnection()
      • setTestConnection

        public void setTestConnection(boolean testConnection)