1 |
package dk.thoerup.circuitbreaker.notification; |
package dk.thoerup.circuitbreaker.notification; |
2 |
|
|
3 |
import java.util.Properties; |
import java.util.Properties; |
4 |
|
import java.util.logging.Logger; |
5 |
|
|
6 |
import javax.mail.Message; |
import javax.mail.Message; |
7 |
import javax.mail.Session; |
import javax.mail.Session; |
9 |
import javax.mail.internet.InternetAddress; |
import javax.mail.internet.InternetAddress; |
10 |
import javax.mail.internet.MimeMessage; |
import javax.mail.internet.MimeMessage; |
11 |
|
|
|
import java.util.logging.*; |
|
|
|
|
12 |
import dk.thoerup.circuitbreaker.CircuitBreaker; |
import dk.thoerup.circuitbreaker.CircuitBreaker; |
13 |
|
import dk.thoerup.circuitbreaker.Event; |
14 |
|
|
15 |
public class MailNotifier extends AsyncNotifier { |
public class MailNotifier extends AsyncNotifier { |
16 |
|
|