Class EmailSendUtils

java.lang.Object
io.github.swsk33.codepostcore.util.EmailSendUtils

public class EmailSendUtils extends Object
发送邮件的实用类
  • Constructor Details

    • EmailSendUtils

      public EmailSendUtils()
  • Method Details

    • sendEmail

      public static void sendEmail(String title, String content, String[] receivers, boolean html)
      发送邮件
      Parameters:
      title - 邮件标题
      content - 邮件内容
      receivers - 收件人列表
      html - 是否为HTML邮件