Class MailWatcherMailer

java.lang.Object
org.jenkinsci.plugins.mailwatcher.MailWatcherMailer

public class MailWatcherMailer extends Object
Send email notification.
Author:
ogondza
  • Method Details

    • send

      public jakarta.mail.internet.MimeMessage send(MailWatcherNotification notification) throws jakarta.mail.MessagingException
      Send the notification
      Returns:
      sent MimeMessage or null if notification was not sent
      Throws:
      jakarta.mail.MessagingException
    • validateMailAddresses

      public static FormValidation validateMailAddresses(String addressesCandidate)
      Validate list of email addresses.
      Parameters:
      addressesCandidate - String representing list of addresses
      Returns:
      FormValidation representing state of validation