Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
package out.exp; import java.io.IOException; import java.security.Security; import javax.activation.DataHandler; import javax.mail.Folder; import javax.mail.Message; import javax.mail.MessagingException; import javax.mail.Session; import javax.mail.Store; public class IMapClient { static { Security.addProvider(new org.apache.harmony.xnet.provider.jsse.JSSEProvider()); } public static String [] getMail() throws MessagingException,IOException { java.util.Properties props = new java.util.Properties(); props.setProperty("mail.imap.socketFactory.class", "javax.net.ssl.SSLSocketFactory"); props.setProperty("mail.imap.socketFactory.fallback", "false"); props.setProperty("mail.imap.socketFactory.port", "993"); Session session = Session.getDefaultInstance(props); Store store = session.getStore("imap"); store.connect("imap.gmail.com", "outlook.project", "outlookproject"); Folder folder = store.getFolder("INBOX"); folder.open(Folder.READ_ONLY); Message[] message = folder.getMessages(); String [] titles = new String[message.length]; for (int i=0, n = message.length; i < n; i++) { if(message[i].isMimeType("TEXT/PLAIN") || message[i].isMimeType("multipart/ALTERNATIVE")) { titles[i] = message[i].getContent().toString(); } } // Close connection folder.close(false); store.close(); return titles; } }