[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-java
Subject:    Re: [Kde-java] Simple Mail
From:       "Werner Punz" <werpu () gmx ! at>
Date:       2002-03-12 10:54:32
[Download RAW message or body]

I  didn? t have enough time to write a proper readme. (I hacked the thing
together from 7pm to 11pm in the evening, by trying to avoid messy code at
the same time).

First you need JDK 1.2+ since a LinkedList ist used.
Secondly you have to have the javamail and activation jar files in the
classpath otherwise it won?t work! Those are not part of the standard JDK
distro, and haven? t made it into 1.4 yet, but nevertheless are great APIs
to access email and nntp systems easily (actually activation isn? t but
javamail depends on it).

Both can be obtained from the Sun java website (I will include proper links
in the readme as soon as I have time to write it.)

Ah yes you can add multiple BCCs simply by separating them with a ',' or a
';'.

Thats all have much fun with it :-).

Actually what I found, since I? m rather new to the KDE development. I used
Qt designer to layout the gui code and then converted the code to Java with
a little bit machine help. What I saw was that Qt designer uses XML as
storage with a compiler to C++ code. What I? m asking is has anybody already
worked on an XML Qt designer UI to Java compiler or is somebody working on
something similar, I personally think it shouldn? t be to hard to write
something like that since Java already has excellent XML libraries like JDOM
and Xerces as well as Velocity for the basic code templates which then can
be filled with the converted XML data.

Werner


-----Ursprungliche Nachricht-----
Von: Richard_Dale@tipitina.demon.co.uk
[ mailto:Richard_Dale@tipitina.demon.co.uk
<mailto:Richard_Dale@tipitina.demon.co.uk> ]
Gesendet: Dienstag, 12. Marz 2002 02:15
An: kde-java@kde.org
Betreff: Simple Mail


I've checked in a 'Simple Mailer' example app by Werner Punz into
kdejava/koala/examples/simplemail. It shows how you can add a KDE front end
to standard Java libraries such as javamail.jar and activation.jar.

I've used it to send this message, which is fun!

-- Richard


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Windows-1252">
<TITLE>AW: Simple Mail</TITLE>

<META content="MSHTML 5.00.3315.2870" name=GENERATOR></HEAD>
<BODY>
<DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma 
size=2><BR></FONT></DIV><!-- Converted from text/plain format -->
<P><FONT size=2>I&nbsp; didn<SPAN class=196045110-12032002><FONT color=#0000ff 
face=Arial>&acute;&nbsp;</FONT></SPAN>t have enough time to write a proper readme. (I 
hacked the thing together from 7pm to 11pm in the evening, by trying to avoid 
messy code at the same time).</FONT></P>
<P><FONT size=2>First you need JDK 1.2+ since a LinkedList ist used.</FONT> 
<BR><FONT size=2>Secondly you have to have the javamail and activation jar files 
in the classpath otherwise it won<SPAN class=196045110-12032002><FONT 
color=#0000ff face=Arial>&acute;</FONT></SPAN>t work! Those are not part of the 
standard JDK distro, and haven<SPAN class=196045110-12032002><FONT color=#0000ff 
face=Arial>&acute;&nbsp;</FONT></SPAN>t made it into 1.4 yet, but nevertheless are 
great APIs to access email and nntp systems easily (actually activation isn<SPAN 
class=196045110-12032002><FONT color=#0000ff face=Arial>&acute;&nbsp;</FONT></SPAN>t 
but javamail depends on it).</FONT></P>
<P><FONT size=2>Both can be obtained from the Sun java website (I will include 
proper links in the readme as soon as I have time to write it.<FONT 
color=#0000ff face=Arial><SPAN 
class=196045110-12032002>)&nbsp;</SPAN></FONT></FONT></P>
<P><FONT size=2>Ah yes you can add multiple BCCs simply by separating them with 
a ',' or a ';'. </FONT></P>
<P><FONT size=2>Thats all have much fun with it :-).</FONT> </P>
<P><FONT size=2>Actually what I found, since I<SPAN 
class=196045110-12032002><FONT color=#0000ff face=Arial>&acute;&nbsp;</FONT></SPAN>m 
rather new to the KDE development. I used Qt designer to layout the gui code and 
then converted the code to Java with a little bit machine help. What I saw was 
that Qt designer uses XML as storage with a compiler to C++ code. What I<SPAN 
class=196045110-12032002><FONT color=#0000ff face=Arial>&acute;&nbsp;</FONT></SPAN>m 
asking is has anybody already worked on an XML Qt designer UI to Java compiler 
or is somebody working on something similar, I personally think it shouldn<SPAN 
class=196045110-12032002><FONT color=#0000ff face=Arial>&acute;&nbsp;</FONT></SPAN>t 
be to hard to write something like that since Java already has excellent XML 
libraries like JDOM and Xerces as well as Velocity for the basic code templates 
which then can be filled with the converted XML data.</FONT></P>
<P><FONT size=2>Werner</FONT> </P><BR>
<P><FONT size=2>-----Ursprungliche Nachricht-----</FONT> <BR><FONT size=2>Von: 
Richard_Dale@tipitina.demon.co.uk</FONT> <BR><FONT size=2>[<A 
href="mailto:Richard_Dale@tipitina.demon.co.uk">mailto:Richard_Dale@tipitina.demon.co.uk</A>]</FONT> 
<BR><FONT size=2>Gesendet: Dienstag, 12. Marz 2002 02:15</FONT> <BR><FONT 
size=2>An: kde-java@kde.org</FONT> <BR><FONT size=2>Betreff: Simple Mail</FONT> 
</P><BR>
<P><FONT size=2>I've checked in a 'Simple Mailer' example app by Werner Punz 
into kdejava/koala/examples/simplemail. It shows how you can add a KDE front end 
to standard Java libraries such as javamail.jar and activation.jar. </FONT></P>
<P><FONT size=2>I've used it to send this message, which is fun!</FONT> </P>
<P><FONT size=2>-- Richard</FONT> </P></BODY></HTML>

_______________________________________________
Kde-java mailing list
Kde-java@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-java

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic