LSMail Setup Thread last updated on 2004-04-29 17:02:00

Posted by member 147078 on 2004-04-29 12:35:16

LSMailNewMailCmd !none ; Bang to be executed when there is new mail
LSMailNoMailCmd !none ; Bang to be executed when you don't have any mail
LSMailCheckMailCmd !none ; Bang to be executed when lsmail checks for new mail
LSMailDoneCheckCmd !none ; Bang to be executed when lsmail is done checking
LSMailErrorCmd !none ; Bang to be executed if an error has occured

What the F goes here? Any examples of how this is supposed to be setup. I've tried everything I can think of. The LSmail box comes up, i can launch the mail server, but when i click check mail, nothing happens. There is no text in the box at all. HELP!!! The ex above is the only thing I can find, what goes where the !none is?

Posted by member 13 on 2004-04-29 15:17:41 link

those are called "bangs".Think of them as function of modules you can call. Most every module has bangs to perform stuff. YOu could for example set LSMailNewMailCmd to a !labelsettext so label displays "you have mail" or you could make your audioplayer play a mp3 with the "you have mail" sound, etc

Posted by member 147078 on 2004-04-29 17:02:00 link

ok, I have made some progress. Thanks wols! I have gotten it to say New Mail when i have new mail, but it puts the text where my clock is instead of in the LSMail box. The LsMail box changes to red if I have new mail, or blue if I dont. Thats cool, but I would like the text to show up in there also. Any suggestions anyone? Thanks!