/**
* JLsMail, an Litestep module. Use to check mail on an "remote"
* mail account, an then notify if the account have recivied any
* new mails.
*
* JLsMail is written in Java.
*
* Require JRE 1.2 ( javasoft ),Litstep and
* javamm.dll module (Headius)
*
* Thanks for the module, Headius.
*
* @author Nils Christopher Hofgaard Dahl (FxSlin)
* @mail nils@dahl.hjem.as
* @version 0.02, 07052000
*/
JLsMail is under development ( Beta )
*********** Some Words *******************************************
I have tested the module with Litestep build 04-17-2000 with
Windows NT and Windows 2000. Works well, however there is a
something with javamm.dll. It brings up two message box, when
recycling/starting Litestep. The first message box only show
you your JavaClassPath and the second one says something that
javamm.dll doesnīt work. Just press Ok on them both, the modules
works fine.
I`m not quit sure how JLsMail works with older builds, I believe
if javamm.dll loads right. Then JLsMail works to.
Note : JLsMail currently only works with Pop3 servers.
To stop and JLsMail notification just Click on it, then it jumps
back to default mode.
To launch your default app, defined in step.rc. Double click on it.
If you are using dialup connection JLsMail shows "Not online",
however once you are online it checks your mail account.
I`ll be pleased to get some feedback on this module. JLsMail works
fine for me.
Please email me, if there are problems.
*********** Install **********************************************
step 0: - get the needed files
* javamm.zip
* JRE 1.2
* JLsMail.jar ( in JLsMail.zip )
step 1: - read Headius "The Java Module Manager" doc.
- install javamm.dll
step 2: - add these line in step.rc
JavaClassPath "$PathTo$javamm.jar;$PathTo$JLsMail.jar"
LoadJavaModule no/fxslin/JLsMail
- theme your JLsMail, look at the examples below
step 3: - Recycle Litestep
*********** Step.rc commands *************************************
; need to say more about these command?
JLSMailheight X
JLSMailwidth X
JLSMailXpos X
JLSMailYpos X
JLSMailFontType FontType
JLSMailFontSize X
; JLSMail search from your image path defined i step.rc
; Must be an gif, not bmp!
JLSMailBgImg PictureName.gif
; font color RGB values (0 - 255)
JLSMailFontColorRed X
JLSMailFontColorGreen X
JLSMailFontColorBlue X
; background color in RGB values (0 - 255)
; don`t need these if you use "JLSMailBgImg"
JLSMailBgColorRed X
JLSMailBgColorGreen X
JLSMailBgColorBlue X
; if not added in step.rc donīt JLsMail wonīt show text
; when there is no new mail.
JLSMailNoMailString "no new mail"
; Your new mail text
JLSMailNewMailText "You have new mail"
; if added in step.rc, JLsMail doesnīt show mail numbers
; ( numbers of mail in your inbox, and numbers of new mail )
JLSMailNoShowMailNum
; X and Y pos on the Module for the text
JLSMailTextXpos X
JLSMailTextYpos X
; if this i set, JLsMail will scroll the text.
JLSMailUseAniText
; Animation speed, I recommend no lower than 50, but try i out :-)
JLSMailNewMailTextSpeed 60
; how far from the edge of picture should JLsMail start/end scrooling text
JLSMailAniOffsetWidth 8
;application to start, when double clicked
JLSMailApplication appName
;Mail settings
JJLSMailUserName username
JLSMailUserPwd password
JLSMailHost mailserver ( eg. www.mailserver.com )
; JLsMail only work with Pop3 servers, working on it.
; Default is Pop3
JLSMailHostProtocol protocol
; Port number, default is 110
JLSMailHostPort X
; how often should JLsMail query your mail box?
; I recommend no intervall lower than 30 secs.
JLSMailCheckIntervall X
*********** JLsMail Ex1 *****************************************
LoadModule javamm.dll
JavaClassPath "C:\Litestep\modules\javamm.jar;C:\Litestep\modules\JLsMail\JLsMail.jar"
LoadJavaModule no/fxslin/JLsMail
JLSMailheight 19
JLSMailwidth 200
JLSMailxpos 400
JLSMailypos 0
JLSMailFontType "Lucida Sans Unicode"
JLSMailFontSize 9
JLSMailFontColorRed 214
JLSMailFontColorGreen 214
JLSMailFontColorBlue 214
JLSMailBgImg "jlsmail_back.gif"
JLSMailNoMailString "No new mail"
JLSMailNewMailText "You have new mail"
JLSMailTextXpos 50
JLSMailTextYpos 13
JLSMailApplication "msimn.exe"
JLSMailUserName username
JLSMailUserPwd password
JLSMailHost mailserver
JLSMailCheckIntervall 30
JLSMailUseAniText
JLSMailNewMailTextSpeed 60
JLSMailAniOffsetWidth 8
*********** JLsMail Ex2 *****************************************
(Backimage from Chaos theme)
LoadModule javamm.dll
JavaClassPath "C:\Litestep\modules\javamm.jar;C:\Litestep\modules\JLsMail\JLsMail.jar"
LoadJavaModule no/fxslin/JLsMail
JLSMailheight 19
JLSMailwidth 107
JLSMailxpos 400
JLSMailypos 0
JLSMailFontType "Lucida Sans Unicode"
JLSMailFontSize 9
JLSMailFontColorRed 214
JLSMailFontColorGreen 214
JLSMailFontColorBlue 214
JLSMailBgImg "lsx_back.gif"
JLSMailNoShowMailNum
JLSMailNoMailString "No new mail"
JLSMailNewMailText "You have mail"
JLSMailTextXpos 25
JLSMailTextYpos 13
JLSMailApplication "netscap.exe -mail"
JLSMailUserName username
JLSMailUserPwd password
JLSMailHost mailserver
JLSMailCheckIntervall 30
*********** Bugs ************************************************
Please, let me know
*********** Todo list ********************************************
- Fix imap support.
- Sound support, eg. a sound to play when new mails arrive
- more customizable stuff.
- Hide and show functions.
( like JLSMailStartHidden, JLSMailShowWhenNewMail.. )
- other things? Let me know.
********* Thatīs all, FxSlin **************************************