跳至主要內容
配置
mail:
  # 邮件服务器地址
  host: smtp.qq.com
  # 你的邮箱地址
  username: 管理员的QQ邮箱,例如:xxxxxx@qq.com
  # 授权码
  password: xtgfgfqieqfycddh
  # 编码格式
  default-encoding: utf-8
  # 协议
  protocol: smtp
  properties:
    mail:
      smtp:
        auth: true
        starttls:
          enable: true
          required: true

sixkey大约 1 分钟后端SpringBootmail实战