org.jenkinsci.plugins.mailwatcher
Class MailWatcherMailer

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

public class MailWatcherMailer
extends Object

Send email notification.

Author:
ogondza

Constructor Summary
MailWatcherMailer()
           
 
Method Summary
 void send(MailWatcherNotification notification)
           
static hudson.util.FormValidation validateMailAddresses(String addressesCandidate)
          Validate list of email addresses.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailWatcherMailer

public MailWatcherMailer()
Method Detail

send

public void send(MailWatcherNotification notification)
          throws javax.mail.MessagingException,
                 javax.mail.internet.AddressException
Throws:
javax.mail.MessagingException
javax.mail.internet.AddressException

validateMailAddresses

public static hudson.util.FormValidation validateMailAddresses(String addressesCandidate)
Validate list of email addresses.

Parameters:
addressesCandidate - String representing list of addresses
Returns:
FormValidation representing state of validation


Copyright © 2004-2012. All Rights Reserved.