Class MailProperties

java.lang.Object
org.springframework.boot.autoconfigure.mail.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 Details

    • MailProperties

      public MailProperties()
  • Method Details

    • 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)
    • getProperties

      public Map<String,String> getProperties()
    • setJndiName

      public void setJndiName(String jndiName)
    • getJndiName

      public String getJndiName()