Class MailWatcherMailer
java.lang.Object
org.jenkinsci.plugins.mailwatcher.MailWatcherMailer
Send email notification.
- Author:
- ogondza
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.mail.internet.MimeMessage
send
(MailWatcherNotification notification) Send the notificationstatic FormValidation
validateMailAddresses
(String addressesCandidate) Validate list of email addresses.
-
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
Validate list of email addresses.- Parameters:
addressesCandidate
- String representing list of addresses- Returns:
- FormValidation representing state of validation
-