- switch ($_CONFIG['mailid_error_redirect']) {
- case "index": // Redirect to index page
- LOAD_URL("modules.php?module=index&msg=".$msg);
+ switch (getConfig('mailid_error_redirect')) {
+ case "INDEX": // Redirect to index page
+ LOAD_URL("modules.php?module=index&msg=".$msg."&ext=mailid");
+ break;
+
+ case "REJECT": // Redirect to rejection page
+ LOAD_URL(getConfig('reject_url'));