博文

目前显示的是 二月, 2014的博文

Java SMTP

SubEtha SMTP is a Java library which allows your application to receive SMTP mail with a simple, easy-to-understand API. This component can be used in almost any kind of email processing application. Hypothetical (and not-so hypothetical) uses include: A mailing list manager (see SubEthaMail ) A mail server that delivers mail to user inboxes A mail archiver like The Mail Archive An email test harness (see Wiser ) An email2fax system SMTPseudo A filtering forwarding server Baton SMTP proxy for one or more backends (rules based on sender/envelope) Mireka - Mail server and SMTP proxy with detailed logging, statistics and built-in, fail-fast filters SubEthaSMTP's simple, low-level API is suitable for writing almost any kind of mail-receiving application. Read more in UsingSubEthaSMTP or join our MailingList . A Little History SubEthaSMTP was split out of the SubEthaMail mailing list manager because it is a useful standalone component. When we wrote SubEtha...

Simulate Mouse Click in SWT

                btnImportFile.getDisplay().syncExec(new Runnable(){                     @Override                     public void run() {                         Event event = new Event();                         event.type = SWT.MouseMove;                         event.x = btnImportFile.toDisplay(10, 10).x;                         event.y = btnImportFile.toDisplay(10, 10).y;           ...