diff --git a/phpgwapi/inc/class.html.inc.php b/phpgwapi/inc/class.html.inc.php
index be1549326f..e5455ed2e6 100644
--- a/phpgwapi/inc/class.html.inc.php
+++ b/phpgwapi/inc/class.html.inc.php
@@ -920,7 +920,7 @@ class html
$vars = $url;
$url = '/index.php';
}
- elseif (!strstr($url,'/') && count(explode('.',$url)) == 3)
+ elseif (!strstr($url,'/') && count(explode('.',$url)) == 3 && substr($url,0,7) != 'mailto:')
{
$url = "/index.php?menuaction=$url";
}