thierry godefroy mlyjpfv_whdvqyahoocom greetings ok time think got things right clean v3 xsmtp patch uses hook allowing plugins add priority headers fields scan better using global array config_defaultphp like previous patch cures another problem global variables defined included files see patch applies cleanly latest svn snapshot 20080213 also learned something php today whenever php file included_once required_once global variable defines available file making first requireinclude_once invocation ie second time requireinclude_once encountered global variable visible php file includingrequiring although already defined first includerequire_once tricky isnt also found odd thing hooks sqm hooks array yet loaded hooks called case tried put hook patch outside function messages_priorityphp priorityheaders still global variable case prefs_backend initphp add following debug code do_hook functionspluginphp clause see echo n echo hook name namen print_rsquirrelmail_plugin_hooks echo n forced hook config reading messages_priorityphp include ended error languagesphp html page header already sent languagesphp tried set charset header weird regards thierry ____________________________________________________________________________________ looking last minute shopping deals find fast yahoo search httptoolssearchyahoocomnewsearchcategoryphpcategoryshopping tue 05 aug 2008 195722 0800 smdevel newest patch xsmtp headers support squirrelmal svn devel branch