Marius Cramer
2014-05-12 f1634087ea8a852b58ec13d5099e94771ed80849
server/plugins-available/getmail_plugin.inc.php
@@ -100,7 +100,11 @@
         if($data["new"]["active"] == 'y') {
            // Open master template
            $tpl = file_get_contents($conf["rootpath"].'/conf/getmail.conf.master');
            if(file_exists($conf["rootpath"].'/conf-custom/getmail.conf.master')) {
               $tpl = file_get_contents($conf["rootpath"].'/conf-custom/getmail.conf.master');
            } else {
               $tpl = file_get_contents($conf["rootpath"].'/conf/getmail.conf.master');
            }
            // Shall emails be deleted after retrieval
            if($data["new"]["source_delete"] == 'y') {