20070608

sample email sender

Here's the source code to send a simple email from Java, using JavaMail and an external SMTP server.

Please discuss it.

20070306

sample screenshot saver

Here's Java source code to take a full screenshot and save it as a PNG file to the local directory.

Please discuss it.

20070227

project revival

We're bringing a new member into the witl team, and a couple of us have completed college courses in Java Programming.

If you've lost any of the excitement you've had about witl before, you're welcome back now.

20060221

lgpl (lesser general public license)

Witl is under the lgpl, which is the lesser general public license. This is a free software license, and an open source license. So witl is foss, free and open source software.

20060213

serializable outputstream

Witl should take a screenshot and email it. We can take a screenshot and save it to a file. We can attach a file to an email and send it. The problem is that we need to email the screenshot without saving it to a file.

We need lgpl code to get the screenshot image data from the awt in jpeg format and put it in the attachment object to be sent. This problem is delaying witl a little bit right now.

20060130

Witl Plan

The plan is to put together a good computer program named witl (Walk In The Light.) Witl may be written in Java to run on as many different kinds of computers as it can. It may run invisibly to the user the entire time the computer is running. At different random times while witl is running, it will take a picture called a screenschot, of everything being displayed on the monitor at the time. It will then email the screenshot, without delay, to a certain email address which has been specified in advance. Simple, eh?

But we really want it to be a good program. For example, if there are any runtime exceptions which prevent witl from running as ordinarily expected, they should be reported in a log and not just ignored or printed to the (system dependent) standard error stream. For another example, the destination email address should be configured in a configuration file, and witl should provide an easy way for the user to change that configuration (like on the command line when starting an instance of the witl application.)

I don't want witl to require any configurations or remote services to send the outgoing email. Instead, I want to transparently use an smtp server built into witl itself, that will send the email message directly from witl, on the computer on which witl is running. Right now we are leaning and working towards using the aspirin smtp server for this purpose.

We want to take the image from the screen and put it right in the outgoing email message, as an attachment, without ever having to save the screenshot to the hard disk drive as a file. This is for reasons of better performance, less hardware requirements, and really, just to do it the right way, that makes more sense.

Finally, witl is foss, which means, Free and Open Source Software. It is legally built and used under the lgpl, the Lesser General Public License. Everyone in the world is encouraged to plan, program, build, and improve, witl. The project is hosted on sf.net (SourceForge,) where sf.net users may easily join and modify the codebase.

People interested in previewing, testing, using, planning, programming, or taking advantage of being involved in witl in any way, or even people that are just curious, are invited to join and chat in the witl discussion group. Or, if it would make you more comfortable, you could always email 1 of the witl admins, isAAc4given or Teknohazard. Please join today!

20050804

Communication Protocol

Hi folks, the way I see it for the moment is, that we've got five instruments to communicate with each other: 1. Email 2. Sourceforge Discussion (nobody uses it) 3. Blogger, this thing here, some are using it 4. Google Group, some are using it 5. CVS repository for file sharing Then, after a while and some try and error I could successfully compile witl and I even ran WitlApp.java but Aspirin produces an exception. Could anyone successfully run WitlApp version Jul 6, 2005 I haven't checked out the Aspirin Docu yet. Maybe someone could store an Aspirin Working Sample into our CVS Repository. I think we should either use Google or Blogger, but not both. D:\Java\mycvs\witl\com\isaac4\lgpl\witl>java com.isaac4.lgpl.witl.WitlApp myemail@hotmail.com04.08.2005 20:46:48 org.masukomi.aspirin.core.RemoteDelivery deliverSCHWERWIEGEND: java.lang.NullPointerException04.08.2005 20:46:48 org.masukomi.aspirin.core.RemoteDelivery deliverWARNUNG: No mail server found for: hotmail.com04.08.2005 20:46:48 org.masukomi.aspirin.core.RemoteDelivery failMessageWARNUNG: Permanent exception delivering mail (javax.mail.internet.MimeMessage@1a0c10f-to-hotmail.com: javax.mail.MessagingException: I found no MX record entries for the hostname hotmail.com. I cannot determine where to send this message. at org.masukomi.aspirin.core.RemoteDelivery.deliver(RemoteDelivery.java:177) at org.masukomi.aspirin.core.RemoteDelivery.run(RemoteDelivery.java:486) at org.apache.commons.threadpool.DefaultThreadPool.run(DefaultThreadPool.java:156) at java.lang.Thread.run(Unknown Source)