Hi Paul Thanks for the advice. I have written a plugin, but I don't quite know how to get the JavaScript executed. If I put it in a function I don't know where the function should be called from because I don't think one can get a hook to add things to the body tag to call onLoad. I just added the statements in <script> tags in the header but they are not being executed. Maybe I've lost the plot ... any help will be appreciated :-) Regards Jannetta > On 9/12/07, Jannetta S Steyn <jannetta@xxxxxxxxxxx> wrote: >> Hi folks >> >> I have been trying to figure out whether it is possible, and if so how, to set On Read >> and On Delivery be ticked by default. >> >> Can anybody tell me where and how to do this? > > You'd probably want to do it with a custom plugin so you don't have to > change the source code. You'd hook into one of the hooks in > src/compose.php and spit out some javascript that simply checks those > checkboxes. > > - Paul > -- ================================== Web site: http://www.jannetta.com Email: jannetta@xxxxxxxxxxx =================================== Random Thought: If ignorance is bliss, you must be the happiest person alive ... ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users