15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 package com.nokia.helium.internaldata.ant.listener; |
18 package com.nokia.helium.internaldata.ant.listener; |
19 |
19 |
20 import java.util.Properties; |
|
21 import java.util.Hashtable; |
|
22 import java.util.zip.GZIPOutputStream; |
|
23 import java.io.ByteArrayOutputStream; |
20 import java.io.ByteArrayOutputStream; |
24 import java.io.IOException; |
21 import java.io.IOException; |
25 import javax.mail.*; |
22 import java.util.Hashtable; |
26 import javax.mail.internet.*; |
23 import java.util.Properties; |
27 import javax.naming.*; |
24 import java.util.zip.GZIPOutputStream; |
28 import javax.naming.directory.*; |
|
29 |
25 |
30 import javax.activation.DataHandler; |
26 import javax.activation.DataHandler; |
|
27 import javax.mail.BodyPart; |
|
28 import javax.mail.Message; |
|
29 import javax.mail.MessagingException; |
|
30 import javax.mail.Session; |
|
31 import javax.mail.Transport; |
|
32 import javax.mail.internet.InternetAddress; |
|
33 import javax.mail.internet.MimeBodyPart; |
|
34 import javax.mail.internet.MimeMessage; |
|
35 import javax.mail.internet.MimeMultipart; |
31 import javax.mail.util.ByteArrayDataSource; |
36 import javax.mail.util.ByteArrayDataSource; |
|
37 import javax.naming.Context; |
|
38 import javax.naming.NamingEnumeration; |
32 import javax.naming.NamingException; |
39 import javax.naming.NamingException; |
|
40 import javax.naming.directory.DirContext; |
|
41 import javax.naming.directory.InitialDirContext; |
|
42 import javax.naming.directory.SearchControls; |
|
43 import javax.naming.directory.SearchResult; |
33 |
44 |
34 import org.apache.log4j.Logger; |
45 import org.apache.log4j.Logger; |
35 |
46 |
36 /** |
47 /** |
37 * Sends email of the internal data log in a zipped format. |
48 * Sends email of the internal data log in a zipped format. |